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

Child controls in PanelBar never fire

1 Answer 26 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 02 Aug 2010, 05:21 PM
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>

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Helen
Telerik team
answered on 05 Aug 2010, 11:25 AM
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
Tags
PanelBar
Asked by
Jon
Top achievements
Rank 1
Answers by
Helen
Telerik team
Share this question
or