If I add this to the onload page, the image gallery does not display anything
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
GalleryBrowser2.Theme="Element";
GalleryBrowser2.CategoryID = "1";
// if(Context.User.Identity.Name=="Admin")
// {
GalleryBrowser2.AllowEdit=true;
GalleryBrowser2.AllowPostComment=true;
GalleryBrowser2.AllowShowComment=true;
// }
}