Child controls in PanelBar never fire

2 posts, 1 answers
  1. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 02 Aug 2010 Link to this post

    Hi..
    I have a few controls like checkboxes in a Panel Bar, which are hosted in User Control...
    But the events like, OnCheckedChanged, never fire in these controls... any idea what I'm doing wrong?  thanks

    <

     

     

    telerik:RadPanelBar ID="RadPanelName" runat="server"

     

     

     

    Width="290px" onitemclick="RadPanelName_ItemClick">

     

     

     

    <Items>

     

     

     

    <telerik:RadPanelItem runat="server" Text="Record Name Filter"

     

     

     

    Owner="RadPanelName">

     

     

     

    <Items>

     

     

     

    <telerik:RadPanelItem runat="server" Width="240px" BackColor="#CCCCCC">

     

     

     

     

    <ItemTemplate>

     

     

     

     

    <table class="style2">

     

     

     

    <tr>

     

     

     

    <td>

     

     

     

    </td>

     

     

     

    <td class="style4">

     

     

     

    <asp:CheckBox ID="chkALLNAME" runat="server" Text="All" OnCheckedChanged="CHK_ALLNAME_CheckedChanged"

     

     

     

    Font-Names="Verdana" Font-Size="12px" />

     

     

     

    </td>

     

     

     

    <td >

     

     

     

    </td>

     

     

     

    </tr>

     

     

     

    <tr>

     

     

     

    <td >

     

     

     

    </td>

     

     

     

    <td class="style4">

     

     

     

    <asp:CheckBox ID="chkLASTNAME" runat="server" Text="Last Name"

     

     

     

    Font-Names="Verdana" Font-Size="12px" /></td>

     

     

     

    <td >

     

     

     

    <telerik:RadTextBox ID="txtLASTNAME" Runat="server" MaxLength="100"

     

     

     

    TabIndex="1" Width="165px">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </td>

     

     

     

    </tr>

     

     

     

    <tr>

     

     

     

    <td >

     

     

     

    </td>

     

     

     

    <td class="style4">

     

     

     

    <asp:CheckBox ID="chkFIRSTNAME" runat="server" Text="First Name"

     

     

     

    Font-Names="Verdana" Font-Size="12px" /></td>

     

     

     

    <td>

     

     

     

    <telerik:RadTextBox ID="txtFIRSTNAME" Runat="server" MaxLength="100"

     

     

     

    TabIndex="2" Width="165px">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </td>

     

     

     

    </tr>

     

     

     

    <tr>

     

     

     

    <td>

     

     

     

    </td>

     

     

     

    <td class="style4">

     

     

     

    <asp:CheckBox ID="chkTITLE" runat="server" Text="Title" Font-Names="Verdana"

     

     

     

    Font-Size="12px" /></td>

     

     

     

    <td >

     

     

     

    <telerik:RadTextBox ID="txtTITLE" Runat="server" MaxLength="100"

     

     

     

    TabIndex="2" Width="165px">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </td>

     

     

     

    </tr>

     

     

     

    <tr>

     

     

     

    <td >

     

     

     

    </td>

     

     

     

    <td class="style4">

     

     

     

    <asp:CheckBox ID="chkORG" runat="server" Text="Org. Name" Font-Names="Verdana"

     

     

     

    Font-Size="12px" /></td>

     

     

     

    <td >

     

     

     

    <telerik:RadTextBox ID="txtORG" Runat="server" MaxLength="100"

     

     

     

    TabIndex="2" Width="165px">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </td>

     

     

     

    </tr>

     

     

     

    <tr>

     

     

     

    <td >

     

     

     

    </td>

     

     

     

    <td class="style4">

     

     

     

    <asp:CheckBox ID="chkEmail" runat="server" Text="Email" Font-Names="Verdana"

     

     

     

    Font-Size="12px" /></td>

     

     

     

    <td >

     

     

     

    <telerik:RadTextBox ID="txtEMAIL" Runat="server" MaxLength="100"

     

     

     

    TabIndex="2" Width="165px">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </td>

     

     

     

    </tr>

     

     

     

    </table>

     

     

     

     

     

    </ItemTemplate>

     

     

     

     

    </telerik:RadPanelItem>

     

     

     

    </Items>

     

     

     

    </telerik:RadPanelItem>

     

     

     

    </Items>

     

     

     

    </telerik:RadPanelBar>

     

  2. Answer
    Helen
    Admin
    Helen avatar
    1052 posts

    Posted 05 Aug 2010 Link to this post

    Hi Jon,

    Please set the AutoPostBack property of the checkBox to true:

    <asp:CheckBox ID="chkALLNAME" runat="server" Text="All" OnCheckedChanged="CHK_ALLNAME_CheckedChanged" Font-Names="Verdana" Font-Size="12px" AutoPostBack="true"/>


    Kind regards,
    Helen
    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
Back to Top