Hi
    
    
                                I've bound my RadTabStrip to a SiteMapDataSource and want to hide or disable certain tabs depending on SiteMapNodeAttributes. But my settings (enabled/visible) are ignored. 
(GetBool() is a function to test and cast the value, true is the fallback value.)
| protected override void OnTabDataBound(telerik.RadTabStripEventArgs e) | 
| { | 
| e.Tab.Enabled = (e.Tab.DataItem as System.Web.SiteMapNode)["enabled"].GetBool(true); | 
| e.Tab.Visible = (e.Tab.DataItem as System.Web.SiteMapNode)["visible"].GetBool(true); | 
| base.OnTabDataBound(e); | 
| } | 
The only way to hide a tab was by removing it completly...
| if (!(e.Tab.DataItem as System.Web.SiteMapNode)["visible"].GetBool(true)) | 
| { | 
| this.Tabs.Remove(e.Tab); | 
| } | 
So when is the right moment to do this? I tried it in OnDataBound but then the DataItem of the node is empty...