tags:

views:

65

answers:

1

Hello Sir,

I have Two Combobox where second one is depend upon first one.

Means when the selectedindexchanged event of First Combobox fires then the second Combobox will be enabled. After Event Apply The second Combobox is loaded but i couldnot select the ComboBox Value

How will i select the value?? i used Dave express in c# Thanks

A: 

On page load event load the first drop down list with data. On selected index changed event of first drop down list, get the selected text/value of the first drop down list and based on that load second drop down list with data. On selected index changed event of second dropdown keep brak point and check. See that you have given autopostback = 'true' for the drop down lists.

protected void Page_Load (object sender, EventArgs e)
{
//Load first drop down list
}

protected void ASPxComboModule1_SelectedIndexChanged(object sender, EventArgs e) 
{ 
//Load second drop down list based on first drop down selected text/value 
} 

protected void ASPxComboModule2_SelectedIndexChanged(object sender, EventArgs e) 
{ 
//check whether this event gets fired if so then you are able to select values in your second drop down list
} 
banupriya
This is not working...2nd combo are not fired
mahfuz