Saturday, March 24, 2012

CascadingDropDown SelectedValue

Is there a way to set this to a variable such as a Session variable, or must this value be known at compile time? Thanks!

Michael LaneI found the answer indirectly in the FAQ. This works:

CascadingDropDown1.TargetProperties[0].SelectedValue = "1";

No comments:

Post a Comment