The url below is my source code. The file name is 354709_CheckedGroupHeaderCellElement.zip
https://skydrive.live.com/redir?resid=DBDF9B2C2251D8AA!109
I created it base on 2 article below:
1. http://www.telerik.com/support/kb/winforms/gridview/add-check-uncheck-all-check-box-in-the-header-cell.aspx
2. http://www.telerik.com/community/forums/winforms/gridview/adding-checkbox-to-the-group-header.aspx
The problem now is:
1. After grouping, CheckBoxHeaderCell cannot work.
2. If I add code below in ValueChanged, CheckBoxHeaderCell is working but CustomGroupHeaderCell cannot work
Note: If you hide all the in ValueChanged, you can see customCell_MeCheckChanged is working perfectly on CustomGroupHeaderCell.
Please refer the video below.
http://www.youtube.com/watch?v=fqVY0bfEgJY
Another question:
How to get fast response? Because I have some topic does not get reply from telerik support.
My Unique Customer ID is: SU878455
How to control/manage in radGridView1_ValueChanged?
https://skydrive.live.com/redir?resid=DBDF9B2C2251D8AA!109
I created it base on 2 article below:
1. http://www.telerik.com/support/kb/winforms/gridview/add-check-uncheck-all-check-box-in-the-header-cell.aspx
2. http://www.telerik.com/community/forums/winforms/gridview/adding-checkbox-to-the-group-header.aspx
The problem now is:
1. After grouping, CheckBoxHeaderCell cannot work.
2. If I add code below in ValueChanged, CheckBoxHeaderCell is working but CustomGroupHeaderCell cannot work
Note: If you hide all the in ValueChanged, you can see customCell_MeCheckChanged is working perfectly on CustomGroupHeaderCell.
Please refer the video below.
http://www.youtube.com/watch?v=fqVY0bfEgJY
Another question:
How to get fast response? Because I have some topic does not get reply from telerik support.
My Unique Customer ID is: SU878455
How to control/manage in radGridView1_ValueChanged?
private
void
radGridView1_ValueChanged(
object
sender, EventArgs e)
{
if
(sender.GetType().ToString() ==
"Telerik.WinControls.UI.GridViewCellInfo"
)
{
//MessageBox.Show(((GridViewCellInfo)sender).ColumnInfo.FieldName);
if
(
bool
.Parse(((GridViewCellInfo)sender).Value.ToString()))
{
foreach
(GridViewRowInfo dr
in
radGridView1.Rows)
{
dr.Cells[0].Value =
true
;
}
}
else
if
(!
bool
.Parse(((GridViewCellInfo)sender).Value.ToString()))
{
foreach
(GridViewRowInfo dr
in
radGridView1.Rows)
{
dr.Cells[0].Value =
false
;
}
}
}
}