Click here to Skip to main content
14,926,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want Filter functionality using Dynamic checkboxes list in my project so...How to fire Checkbox event in asp.net mvc. Please any one advice me about this.I am new for MVC.This is the my project reference link.

http://www.venuebookings.com/reception

Please see the liftside of the page for check box functionality

What I have tried:

NA
Posted
Updated 28-Jul-16 22:20pm
v2

1 solution

Your question is far too broad, you're essentially asking how to build a website. I suggest you get a book on MVC and go through it, or at least go through some tutorials online, and how to do these things will become clear.

To answer your specific question the easiest way is to use jQuery and the click event;

.click() | jQuery API Documentation[^]

or more correctly the change event

.change() | jQuery API Documentation[^]

However that won't get you far in your quest, you'll also need to know how to use ajax to call controller methods, how to pass the data on the page, how to search the database, how to show the results etc etc. Handling the click event of a checkbox is a very small part of the functionality you want to implement.
   

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