Hi NickPowers,
You can use AllowPostComment property to set GalleryBrowser can post comment or not.
Please refer the following section code
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
-
- if(Request.IsAuthenticated)
- GalleryBrowser1.AllowPostComment = true;
- else
- GalleryBrowser1.AllowPostComment = false;
- }
Regards,
Jeff