Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Action property ignored

Status
Not open for further replies.

bertrandkis

Programmer
Jul 26, 2002
101
ZA
Hello folks!
I have a framed page that consist of 2 frames.The top frame has a form (Searchcriateria.aspx) with a couple of text boxes and drop down boxes that the user
uses to specify his search criteria. When he clicks submit, the values entered in the text boxes must be passed to the page in the bottom frame(the result page "SearchResult.aspx") and the the result page will
pass those values as parameters of a SQL query and display the result of the query. I have specified in the action property of the form the following:
<form name=searchCriteria id=searchCriteria method="Post" action="SearchResult.aspx"
runat=server target="bottom_frame">

But when the user enters search criteria and clicks submit, the page specified in the action property is totaly ignored and the Searchcriateria.aspx call
itself and replaces the SearchResult.aspx in the botton frame.
If you have done something similar please give me a clue.
Bertrandkis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top