Re: Solved!

  •  07-11-2006, 5:31 AM

    Re: Solved!

    Hi Aberon44,
     
    I have pasted my page_load code here for you to see. The key thing to note is that gallery1.FolderPath is set outside the 'if not Page.IsPostBack'. Hope it helps!

    Protected
    Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    If Not Page.IsPostBack Then

     

    End If

    Dim album As String = Request.QueryString("album")

    If album Is Nothing Or album = "/" Then

    gallery1.FolderPath = "~/Site/Images/"

    Else

    gallery1.FolderPath = album

    End If

    End Sub

View Complete Thread