3 Answers, 1 is accepted
0
Hello M W,
We tried to repro the reported issue using the latest version of the controls, but to no avail. Please find below a sample code snippet that we used for our test. Let us know what's different in your case.
ASPX:
Code-behind:
Best wishes,
Paul
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
We tried to repro the reported issue using the latest version of the controls, but to no avail. Please find below a sample code snippet that we used for our test. Let us know what's different in your case.
ASPX:
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head id="Head1" runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:RadPanelBar ID="RadPanelBar1" runat="server"> |
<Items> |
<telerik:RadPanelItem runat="server" Text="Root RadPanelItem1"> |
<Items> |
<telerik:RadPanelItem runat="server" Value="templateHolder"> |
<ItemTemplate> |
<asp:CheckBox ID="CheckBox1" runat="server" OnCheckedChanged="CheckBox1_CheckedChanged" |
AutoPostBack="true" Text="General" /> |
</ItemTemplate> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelBar> |
</form> |
</body> |
</html> |
Code-behind:
using System; |
using System.Collections.Generic; |
using System.Linq; |
using System.Web; |
using System.Web.UI; |
using System.Web.UI.WebControls; |
public partial class _Default : System.Web.UI.Page |
{ |
protected void Page_Load(object sender, EventArgs e) |
{ |
} |
protected void CheckBox1_CheckedChanged(object sender, EventArgs e) |
{ |
} |
} |
Best wishes,
Paul
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
wima
Top achievements
Rank 1
answered on 02 Jun 2009, 05:43 AM
Hi
This works really. But I want to add the checkboxes by code, because at design time I don't know how many checkbox I need.
When I add the Checkbox to the Controls of the RadPanelItem, I have de described effect.
Thank you
wima
This works really. But I want to add the checkboxes by code, because at design time I don't know how many checkbox I need.
When I add the Checkbox to the Controls of the RadPanelItem, I have de described effect.
Thank you
wima
0
Hello wima,
I think it will be best if you can open a support ticket and send us a simple running project (incl. your custom skin, CSS, images, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.
Thanks beforehand for your patience and cooperation,
Paul
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I think it will be best if you can open a support ticket and send us a simple running project (incl. your custom skin, CSS, images, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.
Thanks beforehand for your patience and cooperation,
Paul
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.