hi,
i am taking one datagrid in that grid i am taking checkboxes and out side of the datagrid i am taking 2 html buttons i.e., Select All and Select None.
if i am click on select all button then all check boxes are selected and if i click select none button all checkboxes are unchecked
how to write javascript function todo this. please give a sample code for this.
Thanks
Select all checkboxes using javascript?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

ShankeyRank #972 · 2.1K reputationPosted Aug 29, 2010, 9:09 PM EDT
Following is your solution and please mark my answer as accepted if it helped you:)
Step1: Call "MarkUnmarkMessages(true);" function on click of select all button and call "MarkUnmarkMessages(false);" function on click of select none.
Step2: Add following script.
}
ajay rajuRank #4,639 · 333 reputationPosted Aug 29, 2010, 11:26 PM EDT