script section wont work on show.aspx page

Last post 06-29-2005, 5:58 PM by Cavall. 1 replies.
Sort Posts: Previous Next
  •  06-29-2005, 5:49 PM 8193

    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>

  •  06-29-2005, 5:58 PM 8194 in reply to 8193

    Re: script section wont work on show.aspx page

    nevermind... just changed to a C# page and it worked...
     
    thansk
    cavall
View as RSS news feed in XML