473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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.Redirect, 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 1081
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.dejaegher@_NOSPAM_scarlet.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.Redirect, 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
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...
28
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...
0
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...
1
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:...
4
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...
5
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...
4
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...
2
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.