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

issue with GridGroupingControl having mulitple templates with in same column of grid

Thread ID:





77656 Nov 11,2008 04:05 PM UTC Nov 14,2008 10:50 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Hanuman Reddy Konatham
Asked On November 11, 2008 04:05 PM UTC


i am using GridGroupingControl and vs.net 2008.
i have requirement to add a new row to GridGroupingControl upon clicking a button (which is outside the grid).
Kindly see the attachement.
upon cliking the button outside the grid
following things should happen
1. new row should be added to grid (to be added to the grid as last row )
2. new row's first column should have dropdown with some values.
3. upon selecting different values in dropdown , the second column content should be filled (i.e., i should capture the dropdown_SelectedIndexChanged event) and fill the corresponding second column.
4. the issue is as all the other top rows are using simple label (literal inside item template for display), only this last row should use dropdown for display.As templates are used across all the rows, is it possible to have different templates for one row and another template for another row.

i was trying to use a inside the itemtemplate and add and remove label and dropdown to placeholder as per requirement but iam not able to get the right result. kindly provide me sample code to achieve the same


Rajarajeswari S [Syncfusion]
Replied On November 14, 2008 10:50 AM UTC

Hi HanumanReddy,

Thanks for evaluating Syncfusion products.

As per your requirement the new row should only have the dropdown cell, when we use Templates it will be applied for the whole column, and not for a cell. But using CellType from GridStyleInfo we can make a particular cell as a ComboBox cell, but the cell type will be applied to the Grid, only when it is in Edit mode.

Please refer the sample from the below link, which illustrates this:


Please refer the video clip from the below link, illustrates the process clearly.


Please have a look at this and let us know if this helps you out.



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