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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Real-time filtering?

Status
Not open for further replies.

wbodger

Programmer
Apr 23, 2007
769
US
On any number of sites where you can drill down to get to the specific product that you want, there is often a list of properties on the left side of the screen from which you can choose how you want to filter. I am developing a few intranet apps that would do well having this type of functionality. Is this a shopping cart solution or is it something I could at least roughly mirror using just the classes etc. that are inherent in asp.net 4.5? If so, I am not even sure where to start. I have the data and I know the few fields that I would have as filter parameters (company, type and year) each populated with values from the db or with hardcoded values. As a for instance, I would initially have a list of all credit reports, then the user would choose between Competitor, Customer and Vendor, then they could choose to filter by year or by company if they choose. If you are unclear what I am talking about, places like store.nike.com have this kind of layout.

Thanks,
Willie
 
I did not see a problem...
All your options on droopdown boxes and results on grid.
each dropdown has onSelectedIndexChanged event, with fierd event to apply filter to your grid...
Which specific part you need to help
 
So, I would apply filters to a gridview?
 
You would not apply filters to the gridview directly, you would apply filters to the underlying datasource. I would assume you are calling a stored procedure to get your data and populating your gridview from that.
 
Sorry for the delay, got sidetracked onto other projects since this data wasn't quite ready for me yet. Yes, I will have a stored procedure to get the data to be filtered. Do you know of any good tutorials with examples that I could pull apart to understand this process?

Thanks,
Willie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top