Re: Integrate into website

  •  08-02-2007, 1:20 PM

    Re: Integrate into website

    Mike,
     
    DotNetGallery is a user control.
     
    You can plug it into any page you want.
     
    To add DotNetGallery to an ASP.NET page, do the following:

    1. Add the following line to the top of your page:

       <%@ Register TagPrefix="CE" Namespace="DotNetGallery" Assembly="DotNetGallery" %>


    2. Add the following code between <form runat="server"> tags:


      <CE:Gallery
        id="gallery1"
        runat="server"
        Width="600"
        LayoutRenderMode="SimpleGrid"
        Column = "6"
        MaxImageWidth="1024"
        BackColor="#ffffff"
        CellPadding="5"  
        AutoResizeUploadedImages = "true"  
        CellSpacing="5"
        ForeColor="#000000"
        BorderColor="#cc0000"
        BorderStyle="solid"
        BorderWidth="0"
        CssClass="container"
        ShowUpload="true"
        ShowEditDescription="false"
        ShowThumbNailName="true" 
        ShowThumbNailSize="true" 
        ShowThumbNailDate="false" 
        ShowThumbNailDescription="true" 
        ShowDescriptioninIndexView="false"
        FolderPath = "~/samplefolder"
       ></CE:Gallery>
     
     

    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