473,394 Members | 2,002 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,394 software developers and data experts.

Filters reset to defaults in ASP files (javascript)

tyv
Hi,

I have a bug on my website that I'm trying to fix. I have filters
(drop down menus and click-calendar date range) that narrow down
searches on my website by pulling out the information from the
database. Problem is as follows:

1) I select my filters, the database choices are narrowed.
2) I get multiple pages (a filtered list from the database).
3) I click to go to the second page.
4) The filters reset to their defaults and I end up with the entire
database again. I cannot view the second page (or any other page) of
the filtered list. Only the first page.

I am working on ASP files, Javascript and some html. Any suggestions
on how I can fix this? Any example scripts?

Thanks for any help you can offer!

TV
Feb 27 '08 #1
1 1425
Can you tell us a bit about how the webpage displays the data?

Are you using a gridview and binding the data from a datasource, or possibly
you have just written the results to the page as text within a table?

The answer to your question depends on how you're getting the data on the
page.

Thanks,

JB

"tyv" <vy*****@gmail.comwrote in message
news:2d**********************************@d62g2000 hsf.googlegroups.com...
Hi,

I have a bug on my website that I'm trying to fix. I have filters
(drop down menus and click-calendar date range) that narrow down
searches on my website by pulling out the information from the
database. Problem is as follows:

1) I select my filters, the database choices are narrowed.
2) I get multiple pages (a filtered list from the database).
3) I click to go to the second page.
4) The filters reset to their defaults and I end up with the entire
database again. I cannot view the second page (or any other page) of
the filtered list. Only the first page.

I am working on ASP files, Javascript and some html. Any suggestions
on how I can fix this? Any example scripts?

Thanks for any help you can offer!

TV

Feb 29 '08 #2

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

Similar topics

9
by: Ken | last post by:
How can I reset the initial form variables that are set with session statements when clicking on a button? I tried this but the function was not called: <?PHP function reset_form($none) {...
6
by: Shabam | last post by:
I have a text field that's pre-filled with data. Suppose the user edits it, but decides he wants to reset the data back to the original pre-filled data, how can I do that?
1
by: NancyASAP | last post by:
Thought I'd share this since it took me a long time to get it working. Thanks to a bunch of contributers in Google Groups who shared javascript, etc. The question was: How can I put a reset...
6
by: TJO | last post by:
Below is some sample code that fades div tags that is not working in IE 6.0.29 on xp sp2. Can anyone help see why the if(ie5) document.getElementById(divID).filters.alpha.opacity lines are not...
0
by: James Arnold | last post by:
Is it possible to reset all the GridItems within a PropertyGrid to be reset, without recursively looping through each item? I know of PropertyGrid.ResetSelectedProperty, but doesn't this mean I'd...
11
by: newbie | last post by:
i have a form in which a hidden field (initial value as '0', and my javascript set it to '1' when an event is trigged). In the same form, i have a reset field. But I realized that the hidden field...
8
praclarush
by: praclarush | last post by:
Ok, I'm new to JavaScript and I'm taking a class for it the assignment in it I'm supposed to create edit a pre-made page to display a marquee that automatically scrolls for the user, as well as give...
1
by: apstein | last post by:
Hi, I have an HTML form (generated by php) which I am rendering in Internet Explorer 6. My original problem was that if the user submitted the form, and then used the back button to return to...
2
by: tyv | last post by:
Hi, I have a bug on my website that I'm trying to fix. I have filters (drop down menus and click-calendar date range) that narrow down searches on my website by pulling out the information from...
0
by: tyv | last post by:
Hi, I have a bug on my website that I'm trying to fix. I have filters (drop down menus and click-calendar date range) that narrow down searches on my website by pulling out the information from...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
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
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...

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.