Re: 2 Galleries in one aspx? One for public use and one for admin use... doesn't work

  •  04-12-2005, 3:38 PM

    Re: 2 Galleries in one aspx? One for public use and one for admin use... doesn't work

    <script runat="server">
     Public Sub Page_Load(sender As object, e As System.EventArgs)
     If sLogged= true then 
        
         gallery1.ShowThumbNailName="True" 
         gallery1.ShowThumbNailSize="false" 
         gallery1.ShowThumbNailDate="false" 
         gallery1.ShowThumbNailDescription="true" 
         gallery1.ShowEditDescription="false" 
         gallery1.ShowUpload="false"
         gallery1.ShowBatchBuild="False"
         gallery1.ShowWindowedScreen="false"
         gallery1.ShowFullScreen="false"
         gallery1.ShowHelp="false"
         gallery1.ShowHome="False"
         gallery1. FolderPath = "~/Gallery/RobHixen"
       
      else
         gallery1.ShowThumbNailName="True" 
         gallery1.ShowThumbNailSize="false" 
         gallery1.ShowThumbNailDate="false" 
         gallery1.ShowThumbNailDescription="true" 
         gallery1.ShowEditDescription="false" 
         gallery1.ShowUpload="false"
         gallery1.ShowBatchBuild="False"
         gallery1.ShowWindowedScreen="false"
         gallery1.ShowFullScreen="false"
         gallery1.ShowHelp="false"
         gallery1.ShowHome="False"
         gallery1. FolderPath = "~/Gallery/RobHixen"

     End If
        End Sub
    </script>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread