Hi Carlos,
Thanks for the details.
Adding up the RowBtnTemplate (as in the Checkbox sample), is pretty much simple. Only thing you need to have a class that implements ITemplate and uses CheckBox as the control,
class CheckBoxTemplate : ITemplate {
#region ITemplate Members
public void InstantiateIn(Control container) {
CheckBox cBox = new CheckBox();
cBox.ID = "ck";
cBox.CheckedChanged += new EventHandler(cBox_CheckedChanged);
cBox.AutoPostBack = true;
container.Controls.Add(cBox);
}
void cBox_CheckedChanged(object sender, EventArgs e) {
//Implement the checked changed logic here
CheckBox checkbox = (CheckBox)sender;
GridRow gridrow = (GridRow)checkbox.Parent.Parent;
//implement logic for your code
}
#endregion
}
}
Please check the following sample that illustrates this,
http://www.syncfusion.com/support/user/uploads/F77563-1048181264.zipLet me know if that helps you out.
Thanks,
Fahad