[Solved] Asp.net dynamic User and activity based authorisation mixed with hide show site master html

[ad_1] You should switch from role based authentication to claims based authentication. Here’s an article describing the basics of claims based authentication: http://dotnetcodr.com/2013/02/11/introduction-to-claims-based-security-in-net4-5-with-c-part-1/ Claims will give you fine grained control over the rights for each individual user. ClaimsPrincipal can also be used in webforms: https://visualstudiomagazine.com/articles/2013/09/01/going-beyond-usernames-and-roles.aspx An attribute can be applied to pages and methods in … Read more

[Solved] Master menu is not visible on mobile devices but is visible on InternetExplorer

[ad_1] I’ve found it out: Even with the postet “tricks”, the SplittApp class is not available for the Phone category. So, to see the masterView, I have created a PopUpMenu, which looks like the MasterPage. Everything fine know and thank you for downgrading my question, because nobody knows that exactly. [ad_2] solved Master menu is … Read more

[Solved] add class in master page(code behind) using child page in asp and c# [closed]

[ad_1] FindControl is only able to find server-side controls, not plain HTML tags. In your case it means that you should add attribute runat=”server” to the ClientTab div: <li> <a href=”https://stackoverflow.com/questions/17292020/Clients.aspx”> <div id=”ClientTab” class=”MainNavigationContainerItem” runat=”server”> Client</div> </a> </li> However your code seems to add yet another class tag to this control, which might not be … Read more