Hi.
I have a problem with the RadPanelBar when I try to bind it to an OpenAccessDataSource. I have a single level list of data that I try to bind. The problem is that when I bind the control the items are not collapsible. The markup that I use is:
I also want to have a default element binded to the PanelPar, such as in a drop down's default element.
Kind regards,
Krasi.
I have a problem with the RadPanelBar when I try to bind it to an OpenAccessDataSource. I have a single level list of data that I try to bind. The problem is that when I bind the control the items are not collapsible. The markup that I use is:
<
telerik:RadPanelBar
ID
=
"rpbContainers"
runat
=
"server"
DataTextField
=
"Name"
DataSourceID
=
"oadsContainers"
DataValueField
=
"ID"
Width
=
"100%"
Skin
=
"Windows7"
ExpandMode
=
"MultipleExpandedItems"
AppendDataBoundItems
=
"true"
>
<
Items
>
<
telerik:RadPanelItem
Text
=
"New Container"
Value
=
"-1"
Expanded
=
"true"
>
<
ContentTemplate
>
Create new container
</
ContentTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
<
ItemTemplate
>
<
telerik:RadPanelItem
>
<
Items
>
<
telerik:RadPanelItem
>
<
ContentTemplate
>
<%# Eval("Name") %>
</
ContentTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelItem
>
</
ItemTemplate
>
</
telerik:RadPanelBar
>
I also want to have a default element binded to the PanelPar, such as in a drop down's default element.
Kind regards,
Krasi.