HighTechTalks DotNet Forums  

Re: Viewstate and preserving data on postbacks

ASP.net Announcements microsoft.public.dotnet.framework.aspnet.announcements


Discuss Re: Viewstate and preserving data on postbacks in the ASP.net Announcements forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Joe Abou Jaoude
 
Posts: n/a

Default Re: Viewstate and preserving data on postbacks - 07-30-2007 , 01:32 AM








Hi Ricki,

Actually the user control is created dynamically using the
Page.LoadControl method. However I tested it in the case when it's not
created dynamically (I put the usercontrol in the page designer with an
ID of course) and I got the same result.

There's nothing that initializes my property before
postback, and anyway the probelem is that the viewstate("xxx") returns
nothing.All the entry was not preserved and not only the value.
ViewState.Count returns 0.

Regards



*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.