When I create and ItemTemplate for the RadMenu, there are quotes put around the title. For example, Home whould display as "Home".
DataSource
RadMenu
Code Behind Page_Load
Thanks!
DataSource
<
asp:SiteMapDataSource
ID
=
"SiteMapDataSourceMasterPage"
runat
=
"server"
ShowStartingNode
=
"false"
StartingNodeOffset
=
"0"
/>
RadMenu
<
telerik:RadMenu
ID
=
"RadMenuMasterPage"
runat
=
"server"
AllowSorting
=
"True"
CellSpacing
=
"0"
DataSourceID
=
"SiteMapDataSourceMasterPage"
>
<
ItemTemplate
>
<
div
>
<
a
href
=
"<%# DataBinder.Eval(Container.DataItem, "
url") %>">
<%# DataBinder.Eval(Container.DataItem, "description") %>"
</
a
>
</
div
>
</
ItemTemplate
>
</
telerik:RadMenu
>
Code Behind Page_Load
for
(
int
i = 0; i < RadMenuMasterPage.Items.Count; i++)
{
RadMenuMasterPage.Items[i].DataBind();
}
Thanks!