View Single Post
  #2 (permalink)  
Old July 19th, 2007, 03:17 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You could take all the desired values and build a querystring for the new page, then redirect to it. Something like this (broken into several lines to make reading easier):
Code:
strNewPage = "searchpage.aspx?country={0}&state={1}&price={2}"
strNewPage = string.Format(strNewPage, Country_Select.SelectedValue, State_Select.SelectedValue, Price_Select.SelectedValue)
Response.Redirect(strNewPage)
Then on the page load of the "searchpage.aspx" page you get those values off the querystring and perform the actual search.

-Peter
Reply With Quote