Hi,
if the column is a grid template column, how can I find the control that is inside the <Item Template> without actually knowing the name.
I know that id can get server side
foreach (GridColumn column in RadGrid1.Columns)
{
if (column.GetType().Name == "GridTemplateColumn")
{
foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
{
foreach (Control control in item["IsTrue"].Controls)
{
string ColType = control.GetType().Name;
string Id = control.ID;
if (ColType.Equals("CheckBox"))
{
string value = ((CheckBox)(control)).Checked.ToString();
}
}
}
}
}
But How to write and get above code in the client side ?
Thank you in advance.