Re: Gallery Comment Control

  •  07-26-2011, 4:57 AM

    Re: Gallery Comment Control

    Hi NickPowers,
     
    You can use AllowPostComment property to set GalleryBrowser can post comment or not.
     Please refer the following section code
     
    1. protected override void OnInit(EventArgs e)  
    2. {  
    3.     base.OnInit(e);  
    4.       
    5.     if(Request.IsAuthenticated)  
    6.         GalleryBrowser1.AllowPostComment = true;  
    7.     else  
    8.         GalleryBrowser1.AllowPostComment = false;     

     
    Regards,
    Jeff
View Complete Thread