For a CMS, I use the treeview control (with CSS friendly adapter) binded with the sitemap :
<asp:TreeView DataSourceID="SiteMapDataSource1" ID="EntertainmentTreeView" runat="server" OnSelectedNodeChanged="OnClick" OnAdaptedSelectedNodeChanged="OnClick" >
<asp:TreeNodeBinding DataMember="SiteMapNode" TextField="Title" ValueField="url" />
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
But when I click on a node, the treeview does not respond, doesn't send event. If I replace the ValueField "url" by for example "title", the event is ok.
How can I force the treeview to send Event with ValueField="url" ?
I have published a small project to show the problem at
The problem is caused by the simultaneous use of Databinding and CSS Friendly...
Thanks for you help !