Quantcast
Channel: Super Feed from MSCRM Technical Insight by Jonathan Nachman
Viewing all articles
Browse latest Browse all 130

CRM4: Testing For ViewState Properties - Selected Values Not Saving After PostBack

$
0
0

Having a annoying problem with a ASP Page, the DropDowns were not saving their selected values after a PostBack.

Surfing the net, i found this (i cant remember where i sourced it from.

Control c = "Control Not Saving Value"; 
while ( c != null ) 
{
Response.Write( c.GetType().Name + " = " + c.EnableViewState.ToString() + "<br/>" ); 
c = c.Parent; 
}


Viewing all articles
Browse latest Browse all 130

Trending Articles