Hi, I am trying to work thru some sample code. The code I am having a problem with is:
private ListControl GetSelectedList()
{
return (ListControl)FindControl(ddlControls.SelectedItem.Value);
}
ddlControls
is a DropDownListBoxControl collection
What does the ddlControls.SelectedItem.Value
return (its a numeric value, but I don't know what it represents)?
2nd question: What is return (ListControl)FindControl(ddlControls.SelectedItem.Value);
?
Thanks