script section wont work on show.aspx page

  •  06-29-2005, 5:49 PM

    script section wont work on show.aspx page

    This part of the show.aspx file is not working... I am using vb development. 
    I know it needs to be modified, but not sure exactly how...

    Can you show me what this section needs to be modified to please?


    Thanks
    Cavall                   

    <script runat="server">
        // Obtain the gallery folder from query string
        string album;

        void Page_Load(Object sender, EventArgs e)
        {
            album = Request.QueryString["album"];
            if (album == null || album=="/")
                gallery1.FolderPath = "album1";
            gallery1.FolderPath = album;
       }
    </script>

View Complete Thread