I looked at the grid demo here
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectrowwithcheckbox/defaultcs.aspx
Unfortunately it references "ToggleRowSelection" in the ASP page for the row on CheckedChange.
When you look at the code demo, ToggleRowSelection does not exist.
The code for when you select the header does indeed exist.
So what I am trying to find out, what is the code for checking that individual row?
What should be in ToggleRowSelection
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectrowwithcheckbox/defaultcs.aspx
Unfortunately it references "ToggleRowSelection" in the ASP page for the row on CheckedChange.
When you look at the code demo, ToggleRowSelection does not exist.
The code for when you select the header does indeed exist.
protected
void
ToggleSelectedState(
object
sender, EventArgs e)
{
CheckBox headerCheckBox = (sender
as
CheckBox);
foreach
(GridDataItem dataItem
in
RadGrid1.MasterTableView.Items)
{
(dataItem.FindControl(
"CheckBox1"
)
as
CheckBox).Checked = headerCheckBox.Checked;
dataItem.Selected = headerCheckBox.Checked;
}
}
So what I am trying to find out, what is the code for checking that individual row?
What should be in ToggleRowSelection