Click here to Skip to main content
15,921,062 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
i want to use checkbox on click, filter datatable by checkbox values,,(it can be multiple values)

in asp.net

how to do this
Posted
Comments
Karthik_Mahalingam 2-Jan-14 5:46am    
not clear,
please add more info..
what you have tried???
maulikshah1990 2-Jan-14 5:50am    
I use filtering from datatable in asp.net
filter options are in checkbox as list

when any checkbox clicked, show filtering without reload and filter the datatable by that checkbox..same like makemytrip.com/hotels ..when u search there , u get list of hotelfacilities

when u click on Internet/wifi it shows hotels,then when u click gym , it shows hotels for internet and gym..
same for me

i have datatable with all columns,,
just filter on checkbox click
maulikshah1990 2-Jan-14 6:21am    
In my hotel.aspx page , i fill datatable and pass in session to list.aspx

then in list.aspx , i want to use filter by checkbox values and display

how to do this

how to use checkbox event on list.aspx page with datatable values

i hope u understood
Sibasisjena 2-Jan-14 6:40am    
Hi Maulikshah,

Actually in makemytrip they have used some kind of jquery controls like JQGRID.
But you are using server side control. If you will fire any event using server side control then the whole page will load again.
If you want to load the particular grid, then go for a JQgrid.

Thanks,
Sibasis

I have already answered you at convert datatable which can be filtered using checkbox[^].

Please check that. :)
 
Share this answer
 
This[^] is a good article on filtering data using check boxes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900