Hello,
i have an Ajax UpdatePanel that gets populated dinamically with a button and a listBox. I choose an item from the ListBox,then i press the button.
In code behind,on the server side,i am checking this:
if
(ScriptManager1.IsInAsyncPostBack)
{
string fromWhere = Request[ScriptManager1.ID];
if (fromWhere.Contains("ButtonID"))
{
//here i need to know the listbox item that was selected.How do i do that?
}
}
Thanks