Dropdown Filtering ASP.Net
I am looking to find the best way to do the following:
Filter data based on the drop down filters, as long as I am within the same product category (e.g. toys, puzzles, etc...), but in different web forms (product grid and produ开发者_StackOverflow社区ct detail). So if I select toys under $25, I need the filter to the toys in a grid format, but if I click to view the detail I need the filter information so I can filter the related items display.
Display certain filters depending on the product category.
Right now I believe that if I build a user control and session variables that I should be able to accomplish this. Do anyone know of any examples of doing something like this or have a better way? Any help is appreciated.
EDIT: Right now I am using the page_load event to update the data and would like to avoid AJAX for right now.
Wade
I think you could use something similar to cascading drop downs with Ajax.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CascadingDropDown/CascadingDropDown.aspx
The Ajax toolkit has an example of how to do this in C# and in VB.net: http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/CascadingDropDown/CascadingDropDown.aspx
精彩评论