I'm trying to cause a drop down list box to take on a saved value from the Session.
DropDownList oddl = (DropDownList)Page.Master.FindControl("ddlSystemsMain");
if (Session["LastSystemUsed"] != null)
oddl.SelectedIndex = (int) Session["LastSystemUsed"];
Sometimes this performs writing to the selected index and sometimes not. Can you help? I checked oddl with the debugger and it's the right object.
thanks, Dave
...
Go to the complete details ...