Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Ajax tab container - can the tabs be hidden/shown based on a user role?

$
0
0

We are using the Ajax TabContainer and would like to hide and show actual tabs depending upon the users role / permission level.
or de-activate the tab if they don't have the correct user role privilages.

e.g.

suppose we have a normal user and a superuser and we want normal users to view tab1 only and superusers to view both tab1 and tab2.

this example here (top of page):

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Tabs/Tabs.aspx

de-activates (greys out) a tab when you uncheck the<input id="ctl00_SampleContent_showComponents" name="ctl00$SampleContent$showComponents" checked="checked" type="checkbox" /> box. - not sure if this works based on the users role or not?

We can hide and show actual content inside the tabbed area, but not sure if it's possible to hide and show the actual tab itself?

thanks,

mark.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>