473,563 Members | 2,667 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

search application

Hi All,

a while ago I had to write a asp.net search application. The start
page is a html page, which calls a aspx file that shows the search
results, using a datagrid. So far no problem.
But: now they want an "advanced search". This new search has to be
a aspx page (it contains dropdownlists that are filled from a
database). I can make this advanced search, but how do I call the
the original search.aspx from there?

The html file calls the aspx by using a Get request which is
triggered by a submit button.

html file --------------------------> advanced-search.aspx
! hyperlink-click !
! !
! submit - get /
! / How ?
! /
search.aspx <----------------------------/

I suspect I have to use Response.Redire ct, but how do I pass the
values entered in the advanced-search to the search.aspx?
Or do I have to use a completely different approach?

Any help or suggestions for alternative approaches would be highly
appreciated. Thanks.

Nov 19 '05 #1
1 1088
Filip,

I would just tack them on to the query string.

I you are already using GET anyway then putting the new parameters into the
query string is the perfect solution.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Filip" <filip.dejaeghe r@_NOSPAM_scarl et.be> wrote in message
news:Xn******** *************** ***********@216 .196.109.145...
Hi All,

a while ago I had to write a asp.net search application. The start
page is a html page, which calls a aspx file that shows the search
results, using a datagrid. So far no problem.
But: now they want an "advanced search". This new search has to be
a aspx page (it contains dropdownlists that are filled from a
database). I can make this advanced search, but how do I call the
the original search.aspx from there?

The html file calls the aspx by using a Get request which is
triggered by a submit button.

html file --------------------------> advanced-search.aspx
! hyperlink-click !
! !
! submit - get /
! / How ?
! /
search.aspx <----------------------------/

I suspect I have to use Response.Redire ct, but how do I pass the
values entered in the advanced-search to the search.aspx?
Or do I have to use a completely different approach?

Any help or suggestions for alternative approaches would be highly
appreciated. Thanks.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2790
by: Alexander van Meerten | last post by:
Hello, I have to make an application that works on pc and apple mac. Therefore I am investigating if it's possible to use html/javascript. The database has 10000 records and is sequentially searched. This may take 20 seconds or so. I want the user to be able to quit the search and also I want the outputscreen to be updated immediately when...
28
3137
by: joshc | last post by:
If I have an array of data that I know to be sorted in increasing order, and the array is less than 50 elements, and I want to find the first element greater than a certain value, is a simple linear search the best here(for loop from beginning to end of array)? It seems like some other search algorithm like binary or whatever would be of no...
0
1546
by: Sushil Srivastava | last post by:
Hi Guys, I have developed a utility that provide a smart MSDN knowledge base search both off-line and on-line. I have describe more in detail below why I decided to write this utility (one reason is just for fun). Please let me know if you need this utility. Thanks Sushil
1
894
by: Filip | last post by:
Hi All, a while ago I had to write a asp.net search application. The start page is a html page, which calls a aspx file that shows the search results, using a datagrid. So far no problem. But: now they want an "advanced search". This new search has to be a aspx page (it contains dropdownlists that are filled from a database). I can make...
4
2165
by: MDW | last post by:
Posted this on another board, but evidently it was off-topic there...hope you folks will be able to provide some guidance. I've been working on a Web site for a business (my first non-personal site) and I want to help my client get the best search engine listing. Because this is my first for-profit site, I'm not sure what I need to do for...
5
2686
by: Mark | last post by:
Hi I have an application (in vb.NET 2005) which holds data in SQL Server and some of the SQL records are simply paths to related files. I would like to be able to do a text search on both the SQL data and the contents of any referenced files. The returned list being a listing which includes both records containing the text and files...
4
2159
by: BenCoo | last post by:
Hello, In a Binary Search Tree I get the error : Object must be of type String if I run the form only with the "Dim bstLidnummer As New BinarySearchTree" it works fine. Thanks for any help on this, Benny
2
3314
by: =?Utf-8?B?UEw=?= | last post by:
I'm looking for a tool or library (that can be used with C#) that would allow me to index many HTML files and to perform a search on this index. I'm looking for something that could be used on a desktop application (not like most of the Search-Index engine (dtSearch, Dieselpoint, etc. that requires to be used on a Web based application). My...
0
7659
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7882
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6244
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5208
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3634
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3618
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2079
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.