Postback fails if Checkboxes = true

3 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 07 Nov 2011 Link to this post

    Hi

    This is the markup for 2 Rad combo boxes with Checkboes enabled

    <td><telerik:RadComboBox ID="ddlCustomer" Runat="server" Width="245px" EnableEmbeddedSkins="false" Skin="Activity" CheckBoxes="true" AutoPostBack="true"></telerik:RadComboBox></td>

    <td><telerik:RadComboBox ID="ddlLocation" Runat="server" Width="185px" EnableEmbeddedSkins="false" Skin="Activity" CheckBoxes="true" AutoPostBack="true"></telerik:RadComboBox></td>


    These checkboxes are passed back to be parameters a data class to populate a Rad Grid.
    In the Radgrid I have a column

    <telerik:GridTemplateColumn HeaderText="Arrival" SortExpression="LocationArrival" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" AllowFiltering="false" UniqueName="LocationArrival">

    <ItemTemplate>

     

    <asp:CheckBox ID="chkLocationArrival" runat="server" AutoPostBack="True" OnCheckedChanged="chkLocationArrival_CheckedChanged"/>              

    </ItemTemplate>

    </telerik:GridTemplateColumn>

    If the Checkboxes = true is enabled the postbask fails and the chkLocationArrival_CheckedChanged never runs.

    Whats going on

    Andy

  2. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 08 Nov 2011 Link to this post

    Hi Guys

    I think I've found a bug, and I don't say this lightly.

    With reference to the above problem, if you take off the Autopostback=true, it still wont postback porperly, but.... if you add the emptymessage = "Click to select" the postback works properly.
    I'm using 2011.2.915.35 version of the controls
    Andy
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 10 Nov 2011 Link to this post

    Hi Andy,

    Since you have opened a support ticket regarding this problem, my suggestion is to continue the discussing there.

    Best wishes,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top