Author: evon | Posted on: 6/9/2008 10:32:24 AM | Views : 309

I have a user control that manually saves some state in viewstate based on a key that is set as a property.

ie

ViewState["UniqueIdentifier"] = "1;0;2"

 

When the multple controls are dumped on a webform the state works perfectly, But when I use the control in a datalist, the properties are set perfectly but the controls do not retain viewstate mentioned above. Any ideas ? I'm perplexed.
...

Go to the complete details ...