RadComboBox ItemChecked validator conflict

1 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Mar 2014

    Posted 04 Mar 2014 Link to this post

    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) {  }

      }



Back to Top