thanks , but i need to enable asp.net checkbox inside gridview .
Jipin
Posts
-
enable checkbox inside gridview javascript -
checkbox checked event errorforeach (GridViewRow rw in this.grdEmpSearch.Rows) { ChkBox =(CheckBox(rw.Cells[0].FindControl("chk")); if (ChkBox.Checked) { chkCount++; } } i wrote the above code to check whether the checkbox inside a grid is checked or not but although the checkbox is not checked the above code is returning checked true is all the cases....
-
checkbox checked event not workingforeach (GridViewRow rw in this.grdEmpSearch.Rows) { ChkBox =(CheckBox(rw.Cells[0].FindControl("chk")); if (ChkBox.Checked) { chkCount++; } } i wrote the above code to check whether the checkbox inside a grid is checked or not but although the checkbox is not checked the above code is returning checked true is all the cases....
-
checkbox errorforeach (GridViewRow rw in this.grdEmpSearch.Rows) { ChkBox =(CheckBox(rw.Cells[0].FindControl("chk")); if (ChkBox.Checked) { chkCount++; } } i wrote the above code to check whether the checkbox inside a grid is checked or not but although the checkbox is not checked the above code is returning checked true is all the cases....