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

  •  04-06-2005, 10:38 PM

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

     <% 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

    %>
     
     <form runat="server" ID="mainform2">
        <div align=center class="head"><b>&nbsp;&nbsp;&nbsp;&nbsp;Rob Hixon's Gallery</b></div><br>
        <CE:Gallery
         id="gallery1"
         runat="server"
         Height="300"
         Width="300"
         Column = "3"
         Row = "2"
         MaxImageWidth="1024"
         BackColor="#ffffff"
         CellPadding="5"  
         AutoResizeUploadedImages = "true"  
         CellSpacing="5"
         ForeColor="#000000"
         BorderColor="#cc0000"
         BorderStyle="solid"
         BorderWidth="0"
         CssClass="container"
    ></CE:Gallery>  
          </form>

    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