Hi Rajiv,
Sorry for the delay in getting back to you.
1. We are trying to show the panel in the ItemTemplate on the button click in the row:
Please refer the sample from the below link:
http://websamples.syncfusion.com/samples/Grid.Web/6.3.0.30/Grid_Web_GridInTemplate/main.htmIn the above sample:
1. Image button, GridGroupingControl is used as an ItemTemplate.
2. Clicking on the Image button changes the ImageUrl as well as load the Grid for the particular record.
2. Findout the ItemTemplate control:
ItemTemplate columns are defined using TemplateClass through code behind. By accessing the TemplateClass we can have a property to Findout the Template controls:
public class TemplateClass : ITemplate
{
private Control m_ctrlChildControl = null;
public Control childControl
{
get
{
return m_ctrlChildControl;
}
set
{
m_ctrlChildControl = value;
}
}
public TemplateClass(Control ctrlChildControl)
{
m_ctrlChildControl = ctrlChildControl;
}
public void InstantiateIn(Control container)
{
container.Controls.Add(m_ctrlChildControl);
}
}
TemplateClass temp = this.GridGroupingControl1.TableDescriptor.Columns[2].ItemTemplate;
Control cntrl = temp.childControl;
Please let me know if you have any other concerns.
Regards,
Raji