This is a migrated thread and some comments may be shown as answers.

RadComboBox ItemChecked validator conflict

0 Answers 68 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 04 Mar 2014, 10:59 AM
Hello,
I have a problem using RadComboBox with the ItemChecked event when a validator is present on the page. ComboBox has the CausesValidation property set to false. Checkboxes work correctly, however clicking on the item label does not check the item and after a while results in timeout error:
Error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

Following is the demo page:

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="rsmMain" runat="server" EnablePageMethods="true" EnableScriptGlobalization="true" EnablePartialRendering="true" />
    <div>

      <asp:TextBox runat="server" ID="tbInput" /><asp:RequiredFieldValidator ID="rfvInput" runat="server" ControlToValidate="tbInput" ErrorMessage="Error" />
      <asp:UpdatePanel ID="upActivitySelector" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
        <ContentTemplate>
          <telerik:RadComboBox runat="server" ID="cbTest" AutoPostBack="true" CausesValidation="false" CheckBoxes="true">
            <Items>
              <telerik:RadComboBoxItem Text="test1" />
              <telerik:RadComboBoxItem Text="test2" />
            </Items>
          </telerik:RadComboBox>
        </ContentTemplate>
      </asp:UpdatePanel>
    
    </div>
    </form>
</body>
</html>

public partial class RadComboBoxTest : System.Web.UI.Page {
    protected void Page_Init(object sender, EventArgs e) {
      cbTest.ItemChecked += new RadComboBoxItemEventHandler(selector_ItemChecked);
    }

    protected void selector_ItemChecked(object sender, RadComboBoxItemEventArgs e) {  }

  }



No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
John
Top achievements
Rank 1
Share this question
or