Check-All checkbox using GridView (asp.net)
<asp:CheckBox ID="chkRejectAll" CssClass="selectreject" runat="server" onclick="javascript:SelectAllRejectCheckboxes(this, '.selectreject');" /> //select reject all checkbox function SelectAllRejectCheckboxes(chk, selector) { $('#<%=gv.ClientID%>').find(selector + " input:checkbox").not('checked').each(function () { $(this).prop("checked", $(chk).prop("checked")); }); }
Check Or Uncheck Checkboxes within GridView in ASP.NET using JQuery Check to see what checkbox is checked (looping)
Hi,In Edit template i have 2 texeboxts. TextBox1 I am using to edit text and Textbox2 in which I am keeping max length allowed.On key up I am validating the max length in Textbox1. using javascrip function.For some reason the javascript function is working only for 1st row. For rest of the rows javascript function is called but validation of max length doesnt work.Please let me know some solution if possible which I am editing and on textchange