I would like to disable my menu item based on the Active directory login.
I am using SQL data source, My ASPX page and Menu control look like this
<telerik:RadMenu ID="RadMenu1" Runat="server" DataFieldID="ID"
DataFieldParentID="Parent" DataNavigateUrlField="Url"
DataSourceID="SqlDataSource1" DataTextField="Title" Skin="Glow"
EnableRoundedCorners="true" style="z-index: 100000; left: 0px; top: 52px; position: absolute">
<DefaultGroupSettings ExpandDirection="Down" RepeatDirection="Horizontal" />
</telerik:RadMenu>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:PROJECT_STATUS %>"
SelectCommand="PRS_GetWebSiteSiteMap" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
I have another table which tell me the user login ID and pageID he has access to. So What I want based on the User login I would like to enable the menu pages.
So User Chris with domain\Chris only access to page 1,3,5. The menu control of page 1,3,5 are enabled and remaining all the of the menu control will be disabled.
I hope someone will be able to help me out
Thanks
Syed