We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to find Panel in ItemTemplate?

Thread ID:





77228 Oct 21,2008 04:27 PM UTC Oct 27,2008 06:47 PM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On October 21, 2008 04:27 PM UTC


I am new to Syncfusion, and working on a project where we are deciding on whether to use ASP.net Grid control or Syncfusion.

We are trying to show the panel in the ItemTemplate on the button click in the row.

It would be great if you could show us how to find a control in the ItemTemplate of the GridGroupingControl.

Thanks & Regards
Rajiv Gopinath

Rajarajeswari S [Syncfusion]
Replied On October 27, 2008 06:47 PM UTC

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:


In 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
return m_ctrlChildControl;
m_ctrlChildControl = value;
public TemplateClass(Control ctrlChildControl)
m_ctrlChildControl = ctrlChildControl;

public void InstantiateIn(Control container)

TemplateClass temp = this.GridGroupingControl1.TableDescriptor.Columns[2].ItemTemplate;
Control cntrl = temp.childControl;

Please let me know if you have any other concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon