Hi Telerik Team ,
I am having button and rad grid with check boxes in master and detail tables similar to the below link .
http://www.telerik.com/demos/aspnet/Grid/Examples/Hierarchy/TwoTablesAtLevel/DefaultCS.aspx . In the button click event i am getting the checked item by using a foreach loop as shown in the below code .
I am having button and rad grid with check boxes in master and detail tables similar to the below link .
http://www.telerik.com/demos/aspnet/Grid/Examples/Hierarchy/TwoTablesAtLevel/DefaultCS.aspx . In the button click event i am getting the checked item by using a foreach loop as shown in the below code .
protected
void btnUpdateSearch_Click(object sender, EventArgs e)
{
foreach
(GridDataItem gridDataItem in (GridDataItemCollection)SearchUsersGrid.Items)
{
checkForNorecords = true;
CheckBox chkSelect = gridDataItem["CheckBoxTemplateColumn"].FindControl("chkboxSelectRows") as CheckBox;
if (chkSelect.Checked)// If cheked then maintain the same in MpaList and UserStatus list.
{
gridDataItem.Selected = true;
}
}
}
My question is how to find the checked data items in the Details table and how to check the data items in the details table .
Awaiting for your reply.
Thanks and Regards,
Nagireddy T