SiteMapDataSource and StartingNodeOffset=1 broke in 4.1sp1
Worked great before as usual but now yet another thing you broke. Any plans to fix this soon?
Setting it to 0 works fine but shows all my pages, i only want to show pages under a specific group of pages for a sidebar sub nav i wrote.
Or can you provide some sort of working work around that won't break once its fixed
Hello Michael,
Can you please let us know of the exact use case scenario where you have this functionality not working? Please take a look at the attached video showing a simple setup for SiteMapDataSource with StartingNodeOffset set to 1 and RadPanelBar and how it functions using our latest version. If you need any additional information, please let us know.
Best wishes,
Boyan Barnev
the Telerik team
i ended up fixing it on my own. Had to use the built in navigation control, set it to custom link it to my custom treeview control, then override the onprerender to set the startingnodeoffset correctly.
protected override void OnPreRender(EventArgs e)
base.OnPreRender(e);
((SiteMapDataSource)RadTreeviewTree.DataSource).StartingNodeOffset = 1;
((SiteMapDataSource)RadTreeviewTree.DataSource).StartFromCurrentNode = false;
RadTreeviewTree.DataBind();