Folks,
This is urgent. Wondering if anyone knows how can i impliment roles with Data Menu Horizontal Menu.
currently i am using the following (web.sitemap), but want to switch to infragistice Data Menu
<?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="" description="" roles="Power Users, Administrator, Group Leader, Engineer"> <siteMapNode url="~/Default.aspx" title="HOME" description="HOME" /> <siteMapNode url="~/new" title="NEW" description="View all new issues" /> <siteMapNode url="~/active" title="ACTIVE" description="View all active issues" /> <siteMapNode url="~/closed" title="CLOSED" description="View all closed issues" /> <siteMapNode url="~/reports" title="REPORTS" description="REPORTS" roles="Administrator, Group Leader, Engineer"/> <siteMapNode url="" title="TOOLS" description="TOOLS" roles="Administrator, Group Leader, Engineer"> <siteMapNode url="~/Pages/redirect.aspx" title="Create new issue" description="Create new issue" /> <!--<siteMapNode url="~/Pages/Reports.aspx" title="Create Report" description="Create Reports" />--> <!--<siteMapNode url="~/Pages/CustomReport.aspx" title="Custom Report" description="Custom Reports" />--> </siteMapNode> <siteMapNode url="" title="ADMIN" description="Administrator" roles="Power Users, Administrator, Group Leader"> <siteMapNode url="" title="Manage Users" description="Manage Users" roles="Power Users, Administrator"> <siteMapNode url="" title="Add New User" description="Add New User" /> <siteMapNode url="" title="Edit User" description="Edit User" /> </siteMapNode> <siteMapNode url="" title="Manage Roles" description="Manage Roles" roles="Power Users, Administrator"> <siteMapNode url="~/Admin/ManageRoles.aspx" title="Manage Roles" description="Manage Roles" /> <siteMapNode url="~/Admin/UsersAndRoles.aspx" title="Users And Roles" description="Users And Roles" /> <siteMapNode url="~/Admin/CreateUserWizardWithRoles.aspx" title="Create User With Roles" description="Create User With Roles" /> </siteMapNode> <siteMapNode url="" title="Manage Projects" description="Manage Projects" roles="Power Users, Administrator, Group Leader"> <siteMapNode url="" title="Add New Project" description="Add New Project" /> <siteMapNode url="" title="Edit Project" description="Edit Project" /> </siteMapNode> <siteMapNode url="" title="Reports" description="Reports" roles="Power Users, Administrator, Group Leader"> <siteMapNode url="" title="Daily Reports" description="Daily Reports" /> <siteMapNode url="" title="Advance Reports" description="Advence Reports" /> </siteMapNode> <siteMapNode url="" title="Mail Settings" description="Mail Settings" roles="Power Users, Administrator"> <siteMapNode url="" title="Server Settings" description="Server Settings" /> <siteMapNode url="" title="User Settings" description="User Settings" /> </siteMapNode> </siteMapNode> </siteMapNode> </siteMap>
HI,
WebDataMenu can be bound to SiteMapDataSource. However I can't find exact sample in the samples. So you shall be able to either directly bind it to a SiteMapDataSource, or go through the WebHierarchicalDataSource control (part of the Net Advantage suite) first. But it is 100% supported scenario.