Check Uncheck All Checkboxes in Gridview Using JQuery - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Check Uncheck All Checkboxes in Gridview Using JQuery

Check Uncheck All Checkboxes in Gridview Using JQuery

Check Uncheck All Checkboxes in Gridview Using JQuery
This article explains how to check or uncheck all checkboxes in your GridView using jQuery. Use the following procedure to do that. 

The example code as given below


<script type="text/javascript">
    $(function () {
        function selectAllCheckBoxes(chkb) {
            $('#<%=gdvAllCheckboxes.ClientID%>').find("input:checkbox").each(
               function () {
                   if (this !== chkb) {
                       this.checked = chkb.checked;
                   }
               });
        }
    });

</script>

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.