protected
void btnTEST_Click(object sender, EventArgs e)
{
for (int i = 0; i < 1; i++)
{
radpanelitem1.Items.Add(NewItem());
}
}
protected
RadPanelItem NewItem()
{
RadPanelItem o = new RadPanelItem("TEST PANEL");
CheckBox y = new CheckBox();
y.ID =
"TestCheckbox";
o.Controls.Add(y);
return o;
}
protected void Button1_Click(object sender, EventArgs e)
{
foreach (RadPanelItem r in radpanelitem1.Items)
{
foreach (Control y in r.Controls)
{
if (y is CheckBox)
System.Diagnostics.
Debug.WriteLine((y as CheckBox).Checked.ToString());
}
}
}
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head id="Head1" runat="server">
<link rel="stylesheet" type="text/css" href="Styles.css" />
<style type="text/css">
html, body, form
{
height: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
</style>
</
head>
<
body scroll="no" style="height:100%;margin:0">
<form runat="server" id="mainForm" method="post">
<asp:ScriptManager ID="ScriptManager" runat="server" />
<div style="width:100%;height:100%">
<telerik:RadSplitter runat="server" Width="100%" ID="MainSplitter"
Skin="Office2007"Height="100%" ResizeMode="EndPane">
.......
</telerik:RadSplitter>
</
div>
</form>
</
body>
</
html>