473,395 Members | 1,535 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,395 software developers and data experts.

different search and result page

Hi all,

I'm quite stuck with this problem here.
I have a search form (search.aspx) and I want the results to be
displayed in another form (result.aspx).
So far so good, I've implemented a datagrid and and the data shows up
the first time. Now when I want to implement paging it can't find the
next page. Obviously, because the querystring is empty.
I also tried caching, it worked but I'm afraid of the memory overload
and that the user will receive an empty grid if the cache duration has
expired.
Now what's the best practice to do such thing?
I can't have the datagrid in the same Page as the search form is a
Template that is used all over the site.
Should I use sessions or server.transfer or what else can I do???

I've searched through gazillion of articles but with no luck.
Any help is much appreciated...

Thanks in advance,
Chris

Nov 19 '05 #1
1 953
Using a session variable to store the required data would be a fairly
standard solution for such a scenario.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
<de*****@gmx.de> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Hi all,

I'm quite stuck with this problem here.
I have a search form (search.aspx) and I want the results to be
displayed in another form (result.aspx).
So far so good, I've implemented a datagrid and and the data shows up
the first time. Now when I want to implement paging it can't find the
next page. Obviously, because the querystring is empty.
I also tried caching, it worked but I'm afraid of the memory overload
and that the user will receive an empty grid if the cache duration has
expired.
Now what's the best practice to do such thing?
I can't have the datagrid in the same Page as the search form is a
Template that is used all over the site.
Should I use sessions or server.transfer or what else can I do???

I've searched through gazillion of articles but with no luck.
Any help is much appreciated...

Thanks in advance,
Chris

Nov 19 '05 #2

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

Similar topics

0
by: Vivek Mehta | last post by:
Hi, I am currently working on a project which requires that our web based application should allow end user to search on various parts and their availability in different regions. Http requests...
14
by: BrendanMcPherson | last post by:
Hello, Im try to do some tricks to help make a "Search Many Sites from One Location". http://www.act.org.au/b_nexus.htm What I have decided to do is this: 1. You can choose which site you...
4
by: bendlam | last post by:
I have a page that contains search criteria and when you click on the search button it causes a post back that populates a dataview on the same page. One of the gridview columns contains a link...
13
by: jfarthing | last post by:
Hi everyone! I am using the script below to search a db. If the is more than one match in the db, all goes well. But if there is only one match in the db, nothing gets displayed. Any...
1
by: tsridhar | last post by:
HI, I have one concern with me. My requirement is like this, If I enter a search code in in input text it has to navigate to Edit page, for single search page it works fine, But if it having...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.