Hello Sam,
I tested the code you provided locally, and I didn't experience any problems. Here is the full source code:
.aspx
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<head id="Head1" runat="server">
<title></title>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
function SetValue()
{
var panel = $find("<%=XmlPanel1.ClientID %>");
panel.set_value("Bind ComboBox");
}
</script>
</telerik:RadScriptBlock>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="100px" DropDownWidth="250px">
<Items>
<telerik:RadComboBoxItem Text="State1" />
<telerik:RadComboBoxItem Text="State2" />
<telerik:RadComboBoxItem Text="State3" />
<telerik:RadComboBoxItem Text="State4" />
</Items>
</telerik:RadComboBox>
<div>
<input value="Set Value" onclick="SetValue(); return false;" type="button" />
<telerik:RadXmlHttpPanel ID="XmlPanel1" runat="server" OnServiceRequest="XmlPanel1_ServiceRequest"
EnableClientScriptEvaluation="true">
<telerik:RadComboBox ID="cmbCounty" runat="server" Width="100px" DropDownWidth="250px">
</telerik:RadComboBox>
</telerik:RadXmlHttpPanel>
</div>
</form>
</body>
</html>
.cs
Please note that you should take into consideration the
known issues of the RadXmlHttpPanel control, described in our online help.
Kind regards,
Pero
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items