0
Nice Mxoli...
0
Thanks this got solved when I solved another error I had with a class
0
Prahbu it means nothing gets returned to the user i.e it returns blank on the space where its supposed to return what the user selected. Hope it makes sense, thnks
0
Hi ncedisa Mxoli,
1)make sure ur combobox will be binded in the following way
protected void Page_load(Object sender,EventArgs e)
{
if(!IsPoatback)
{
//write code to bind combobx
}
}
2) write the following code in SelectedindexChangedEvent
if (drp.SelectedItem.Text!="Select")
{
//code to bind information to gridview
}
else
{
//dispaly message no country is selected
}
Please do not forget to mark "Accpeted Answer".
0
Hi,
I can't understand, "gets returned back to me" in your post. but i suggest you, select a item by default when form gets loaded.
Example:
In form_Load() Event,
If ( this.combobox1.items.Count >0) then
this.combobox1.selectedIndex = 0;