Dear Telerik Team,
we would like to ask you for the difference by these two known approaches: (in order to append nested items)
Code Snippet #1:
Code Snippet #2:
Both of mentioned constructions work fine, and their final visual results seem be the same and desired, as well. We've determined that construction shown on the first code snippet is mostly used on your official telerik examples websites. However, we found the second approach in addition.
Can you provide us some advice or evaluation about advantages/disadvantages of mentioned approaches (which of them is better and why), please?
Thank you in advance.
Regards,
SCT
we would like to ask you for the difference by these two known approaches: (in order to append nested items)
Code Snippet #1:
<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%">
<Items>
<telerik:RadPanelItem Expanded="True" Text="Example1" Selected="true">
<Items>
<telerik:RadPanelItem Value="" runat="server">
<ItemTemplate>
Code Snippet #2:
<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%" Height="100%">
<Items>
<telerik:RadPanelItem Text=" Example2">
<ContentTemplate>
Both of mentioned constructions work fine, and their final visual results seem be the same and desired, as well. We've determined that construction shown on the first code snippet is mostly used on your official telerik examples websites. However, we found the second approach in addition.
Can you provide us some advice or evaluation about advantages/disadvantages of mentioned approaches (which of them is better and why), please?
Thank you in advance.
Regards,
SCT