Last post Jul 03, 2009 12:30 PM by RichardD
Jul 01, 2009 02:28 AM|bhav27|LINK
I have server control inheriting from WebControl and implementing IPostBackDataHandler
In the CreateChildControls() I add several controls of type ListControl to the controls collection. I need to collect the state of those controls during post back in my business objects which are public properties of this server control. I am trying to collect
state in the LoadPostData(), but for some reason I never call this method called.
What could be the reason for this method not being called?
Jul 03, 2009 12:30 PM|RichardD|LINK
LoadPostData is only called if the posted form contains a field with a name which matches the UniqueID of your control.