Does anyone know of a refine search results control with checkboxes and counts for columns in a gridview. Alternatively what approach should I take to create one? Should I use a dataset with filters? My gridview is based upon a List<T> type currently.
Below is an example. I am trying to create something similar. Not sure of best strategy to create. I was thinking of a object datasource with dataset which I would create methods to run counts on key columns and create the check lists.
OK, I've seen the search bar. In fact I think you have to do this by dragging and dropping the controls like Label or checkBoxList to combine them each other, and dynamically combine sql select statement to filter with data contents...
Marked as answer by toddjones on Sep 24, 2011 01:13 AM
Okay. but seems like I have to first do a query to populate the gridview and then create the checkbox list control based upon the data in the gridview. I wonder if I should populate the basic table and then try to run counts using the data already in the
gridview on a column and then create check boxes with counts. The alternative would be to run additional queries.
From there I will to trigger an update to the datatable with a new selection.
Thanks for the help! I will see what I can come up with.
toddjones
Member
9 Points
5 Posts
Narrow/Refine Search Results Control
Sep 22, 2011 01:18 AM|LINK
Does anyone know of a refine search results control with checkboxes and counts for columns in a gridview. Alternatively what approach should I take to create one? Should I use a dataset with filters? My gridview is based upon a List<T> type currently.
Thanks for any assistance.
e.g.,
Refine you Results
State
[]Texas (xx)
[] Indiana(xx)
[] Other States(xx)
Employer
[ ] Sears (xx)
[ ] Kmart (xx)
[ ] Other
filter
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Narrow/Refine Search Results Control
Sep 23, 2011 11:51 PM|LINK
Hello toddjones,
In my mind, I think you want to do something like a multiple-filtering? something like this?
If yes, you can use this nice control:
Download codes at:http://www.codeproject.com/KB/webforms/GridViewFilter.aspx
toddjones
Member
9 Points
5 Posts
Re: Narrow/Refine Search Results Control
Sep 24, 2011 12:41 AM|LINK
Below is an example. I am trying to create something similar. Not sure of best strategy to create. I was thinking of a object datasource with dataset which I would create methods to run counts on key columns and create the check lists.
Thanks!
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Narrow/Refine Search Results Control
Sep 24, 2011 12:56 AM|LINK
Hello again:)
Cannot see the image……
Would you mind pasting it again or just offer us your URL?
Thx again
toddjones
Member
9 Points
5 Posts
Re: Narrow/Refine Search Results Control
Sep 24, 2011 12:58 AM|LINK
Trying. Thanks
http://realestate.msn.realtor.com/realestateandhomes-search/46040/type-single-family-home,condo-townhome-row-home-co-op,mfd-mobile-home?gate=msn&cid=prt300004
toddjones
Member
9 Points
5 Posts
Re: Narrow/Refine Search Results Control
Sep 24, 2011 01:00 AM|LINK
http://realestate.msn.realtor.com/realestateandhomes-search/46040/type-single-family-home,condo-townhome-row-home-co-op,mfd-mobile-home?gate=msn&cid=prt300004
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Narrow/Refine Search Results Control
Sep 24, 2011 01:05 AM|LINK
OK, I've seen the search bar. In fact I think you have to do this by dragging and dropping the controls like Label or checkBoxList to combine them each other, and dynamically combine sql select statement to filter with data contents...
toddjones
Member
9 Points
5 Posts
Re: Narrow/Refine Search Results Control
Sep 24, 2011 01:12 AM|LINK
Okay. but seems like I have to first do a query to populate the gridview and then create the checkbox list control based upon the data in the gridview. I wonder if I should populate the basic table and then try to run counts using the data already in the gridview on a column and then create check boxes with counts. The alternative would be to run additional queries.
From there I will to trigger an update to the datatable with a new selection.
Thanks for the help! I will see what I can come up with.