This is a migrated thread and some comments may be shown as answers.

How do I: Add custom controls in cell

1 Answer 125 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Amol
Top achievements
Rank 2
Amol asked on 09 Apr 2010, 01:52 PM

Hello,

I need to display custom controls ( two labels and image or panel ) in single cell.

Could you please tell me the way to achieve  this?

Thanks,
Amol Wable

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 12 Apr 2010, 02:38 PM
Hi Amol,

You can use the CellFormatting event to add elements in grid cells. You can also add a user control by hosting it inside RadHostItem. The following KB article demonstrates this. However, using controls in grid cells may slow down the scrolling and will cause visual glitches. A better option would be using custom editors. Please look at the Custom Editors example in our demo application, as well as in the documentation.

 

Kind regards,
Jack
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Amol
Top achievements
Rank 2
Answers by
Jack
Telerik team
Share this question
or