This is my source code:
and I added from codebehind new RadPanelItem(this is part of code not all :) )
after this how can i find this label(or may be TextBox) in code behind, because if is Textbox i want to catch textbox.Text value.
telerik:RadPanelBar runat="server" ID="RadPanelBarProperties" Width="100%" Skin="Default" ExpandMode="MultipleExpandedItems" Height="190px">
<
Items
>
<
telerik:RadPanelItem
Expanded
=
"True"
Text
=
"Desciprtion"
runat
=
"server"
Selected
=
"true"
>
<
Items
>
<
telerik:RadPanelItem
Value
=
"Description"
runat
=
"server"
>
<
ItemTemplate
>
<
div
style
=
"text-align: center;"
>
<
asp:TextBox
ID
=
"txtDescription"
runat
=
"server"
TextMode
=
"MultiLine"
></
asp:TextBox
>
</
div
>
</
ItemTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelBar
>
and I added from codebehind new RadPanelItem(this is part of code not all :) )
RadPanelItem firstStep = new RadPanelItem("NewGenerated");
RadPanelBarProperties.Items.Add(firstStep);
RadPanelItem secondStep = new RadPanelItem();
secondStep.Value = "SomeValue"
firstStep.Items.Add(secondStep);
Label lblProperty = new Label();
lblProperty.Text = "Test";
secondStep.Controls.Add(lblProperty);
after this how can i find this label(or may be TextBox) in code behind, because if is Textbox i want to catch textbox.Text value.