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

Rad Hierarchy Grid view

3 Answers 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sudhakar
Top achievements
Rank 1
Sudhakar asked on 27 Aug 2009, 04:12 PM
How to add image column in master grid?

3 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 27 Aug 2009, 10:00 PM
Hey Sudhakar,

Use a GridViewImageColumn. Here is a help article on how it works and how to add it:
http://www.telerik.com/help/winforms/grid_gridviewimagecolumn.html

- Robert



0
Sudhakar
Top achievements
Rank 1
answered on 28 Aug 2009, 10:42 AM
How to set image programmatically (dynamically) in gridview image column?
0
yaqub
Top achievements
Rank 2
answered on 31 Aug 2009, 08:06 AM
Hi Sudhakar,

you can set image of GridViewImageColumn like this:

if are are using RadGridView_CellFormatting event, the code will be:
e.CellElement.RowInfo.Cells["MyGridViewImageColumnUuniqueName"].Value = imageList1.Images[indexOfTheImage];

OR

get the GridViewRowInfo and use this code:

myRoowInfo.Cells["MyGridViewImageColumnUuniqueName"].Value = imageList1.Images[indexOfTheImage];

Yaqub Ahmad.

Tags
GridView
Asked by
Sudhakar
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Sudhakar
Top achievements
Rank 1
yaqub
Top achievements
Rank 2
Share this question
or