Can I change a page query string

Results 1 to 2 of 2

Thread: Can I change a page query string

  1. #1
    Join Date
    Dec 1969

    Default Can I change a page query string

    I have a page that I need to change the value of a query string variable. The query string contains search criteria I use when the page loads. But after the page loads a user can change the selection criteria, but when the page post back it will use the query string variables to refresh data and not use what the user selected. <BR><BR>Thanks for help

  2. #2
    Join Date
    Dec 1969

    Default Different Approach

    When the page loads for the first time use the querystring then use a sub on postbacks:<BR><BR>Sub Page_Load<BR>If Not IsPostBack Then<BR>&#039;Load data from query string<BR>End If<BR>End Sub<BR><BR>Sub BtnSearch_Click(s as Object, e as eventargs)<BR>&#039;search based on user input<BR>End Sub<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts