Skip to main content
gamedev.net
🔒 Locked

[.net] Querystring is empty

Started by Alpha_ProgDes Dec 11, 2008 at 1:02 PM 0 replies 750+ views
Original Post
Alpha_ProgDes
Alpha_ProgDes
I can see the querystring when I hover my mouse over the link, but accessing it brings up Nothing. What am I doing wrong?
'in Default.aspx
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        hyperlink1.Attributes.Add("onclick", "window.open(this.href, 'child', 'height=125,width=350,scrollbars'); return false")

        findParentTabs()

        hyperlink1.NavigateUrl = "~/UploadFile.aspx?firstTab=" & firstLevelTab & "&secondTab=" & secondLevelTab
    End Sub

''''''''''''''''''''''''''''''''

'in UploadFile.aspx
        If Not (Request.QueryString("firstTab") Is Nothing) Then
            firstLevelTab = Request.QueryString("firstTab")
        End If

        If Not (Request.QueryString("secondTab") Is Nothing) Then
            secondLevelTab = Request.QueryString("secondTab")
        End If

Beginner in Game Development?  Read here. And read here.  

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.