I get a "DataSource not set" error when I bind a RadPanelBar.
To reproduce the bug, it must contain a RadPanelItem that contains a RadAutoCompleteBox.
The problem appeared in version 2014.1.225 and is still visible in the hotfix 2014.1.326
To reproduce the bug, it must contain a RadPanelItem that contains a RadAutoCompleteBox.
The problem appeared in version 2014.1.225 and is still visible in the hotfix 2014.1.326
protected
string
RadPanelItemValue =
"RadPanelItem1"
;
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(!Page.IsPostBack)
{
RadPanelBar1.DataBind();
// Generates an error: "DataSource not set"
}
}
<
telerik:RadPanelBar
ID
=
"RadPanelBar1"
runat
=
"server"
>
<
Items
>
<
telerik:RadPanelItem
Value='<%# RadPanelItemValue %>' >
<
ItemTemplate
>
<
telerik:RadAutoCompleteBox
runat
=
"server"
ID
=
"RadAutoCompleteBox1"
></
telerik:RadAutoCompleteBox
>
</
ItemTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelBar
>