8/11/2011 4:11:41 PM
7207
Reputation
956
Total posts
After speaking to you, I understand that you want to show different chrome for admins and non-admins. It is not difficult:
protected
void
Page_Init(
object
sender, EventArgs e)
{
if
(MonoSoftware.MonoX.Utilities.SecurityUtility.IsAdmin())
myPartZone.ChromeTemplateFile =
"/App_Templates/MyTheme/ChromeTemplates/MyChrome.htm"
;
else
myPartZone.ChromeTemplateFile =
"/App_Templates/MyTheme/ChromeTemplates/AnotherChrome.htm"
;
}
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.