I converted one of my apps a little while ago from .NET 2 to .NET 4 and I开发者_JAVA百科've just noticed a problem on a couple of pages. For some reason the LoadViewState
and Itemcommand (repeater) are never fired so the page is not working. This was working before and now it's not! I've tried all sorts but can never get any of of the events to trigger/debug.
Viewstate
is enabled at the page level and this is running in a usercontrol.
Just wondering if anyone had some ideas I could try as I'm really stuck with this now.
Thanks,
Dan
Besides EnableViewState there is ViewStateMode. Read http://www.mostlylucid.co.uk/archive/2009/01/28/1312.aspx and see if it helps.
精彩评论