I am using the RadXmlHttpPanel to load a dropdown based on teh value of other dropdown. Below is my case.
I have a state comobo. when user select a value then the county dropdown should list the counties for that state. Both State and County is coming from the DB.
I have the county dropdown in the RadXmlHttpPanel.
My problem is. When the choose the state dropdown for the first time I am seeing the counties populated correctly and I am able to choose from the county list.
But then when I try to change the state then I am not able to do with the mouse. The list of state show in the dropdown but not able to choose from the list. But I am able to use the key board and select and the county dropdown populates accordingly.
Here is the code I am using.
<
telerik:RadComboBox
ID
=
"cmbState"
runat
=
"server"
Width
=
"50px"
OnClientSelectedIndexChanged
=
"ComboChanged"
>
</
telerik:RadComboBox
>
<
telerik:RadXmlHttpPanel
ID
=
"CountyXmlHttpPanel"
runat
=
"server"
OnServiceRequest
=
"CountyXmlHttpPanel_ServiceRequest"
EnableClientScriptEvaluation
=
"true"
>
<
telerik:RadComboBox
ID
=
"cmbCounty"
runat
=
"server"
Width
=
"100px"
DropDownWidth
=
"250px"
>
</
telerik:RadComboBox
>
</
telerik:RadXmlHttpPanel
>
function ComboChanged(sender, args) {
var foundPanel = $find("<%=CountyXmlHttpPanel.ClientID %>");
var stateCombo = $find("<%= cmbState.ClientID %>");
var stateVal = stateCombo.get_value();
foundPanel.set_value(stateVal);
}
protected void CountyXmlHttpPanel_ServiceRequest(object sender, Telerik.Web.UI.RadXmlHttpPanelEventArgs e)
{
//Bind county here
}
Thanks