HeaderStyle-BackColor="#108ec0" HeaderStyle-ForeColor="White" DataKeyNames="transactionId"
OnRowDataBound="OnRowDataBound" Width="98%" OnRowCommand="grdOpen_RowCommand">

HeaderStyle-BackColor="#108ec0" HeaderStyle-ForeColor="White" Width="90%">
<%# Container.DataItemIndex +1 %>.
ImageUrl="~/images/ship_adbtn.png" />
<%# Container.DataItemIndex +1 %>.
gn="Center" />
code is like:
protected void CheckedChanged_chkall(object sender, EventArgs e)
{
foreach (GridViewRow grid in grdOpen.Rows)
{
GridView gr = grid.FindControl("grdOpendetails") as GridView;
CheckBox chk = gr.FindControl("chkall") as CheckBox;
if (chk != null && chk.Checked == true)
{
}
}
}
how to get if header check box checked then how to get all checked value
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Praveen SreeramPosted Aug 3, 2016, 10:28 AM