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

add column to gridview

1 Answer 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Oscar Zapata
Top achievements
Rank 1
Oscar Zapata asked on 27 Feb 2010, 04:07 AM
hi!!

i have a gridview with 3 columns and that i need is when i change de index of a combo add a dynamic column to the gridview that the content of the cells will be images

What Can i do? 

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Mar 2010, 07:09 AM
Hi,

Columns can be added using Add method of the grid Columns collection. You can GridViewImageColumn or create separate CellTemplate with desired content and assign this to the column or inherit from desired column type, override CreateCellElement and return desired control similar to this post.

Regards,
Vlad
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
Oscar Zapata
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or