var RHSBoxControl;
lstRHSBoxControl = $find(
'<%= RHSListBox.ClientID %>');
if (RHSBoxControl != null) {
var items = RHSBoxControl.get_items();
for (var lrhsnumCount = 0; lrhsnumCount < RHSBoxControl.get_items().get_count(); lrhsnumCount++) {
items.getItem(lrhsnumCount).set_selected(
false);
}
} .
but the issue is that when we try to fire this method on both list box . the system get hanged and it gives error such as A script on this page is causing Internet Explorer to run slowly.
If it continues to run , your computer might become unresponsive.
Please help how we can resolve this issue ASAP.
As we have go Live next week
rcbMaterial.SelectedValue =
"" BUT rcbMaterial.Text.Trim = "Material Name" has old value.
But since II am allowing User Text I cannot validate only selected value as it is always "" when User enters a new value!
I even went into the javascript with on blur but always got the sender._selectedItem and sender._selectedItem still having values after the physical box shows only the Emptymessage text.
<
telerik:RadComboBox ID="rcbMaterial" runat="server" AllowCustomText="true" DropDownWidth="250px"
EmptyMessage="Begin typing or select from list" EnableLoadOnDemand="true" EnableTextSelection="false"
Height="200px" OnItemsRequested="rcbMaterials_ItemsRequested"
SkinID="ddRegular" ToolTip="Begin typing or select from list" Width="200px" OnClientBlur="showMandatoryFields">
</telerik:RadComboBox>