4 Answers, 1 is accepted
0
Hi Muhammad,
Thank you for writing.
You can use the CellFormatting event to display an image in any grid cell:
I hope this will be useful.
Regards,
Dimitar
Telerik by Progress
Thank you for writing.
You can use the CellFormatting event to display an image in any grid cell:
private
void
RadGridView1_CellFormatting(
object
sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
e.CellElement.Image = img;
e.CellElement.TextImageRelation = TextImageRelation.TextBeforeImage;
}
I hope this will be useful.
Regards,
Dimitar
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
0
Muhammad
Top achievements
Rank 1
answered on 22 Nov 2016, 02:25 PM
The image is appearing in every column, i want the image only in one column and it would be much better if no text will show with the text i want to replace the text with the image actually
Regards
0
Muhammad
Top achievements
Rank 1
answered on 22 Nov 2016, 03:45 PM
Furthermore can you please guide if i would like to attach the image at the binding time if it possible to store an image instead of particular value in the grid at binding time. I am sure i am not bothering you
Thanks for you time and concern in advance
Regards
MSA
0
Hi Muhammad,
You can use GridViewImageColumn for this.
I hope this will be useful.
Regards,
Dimitar
Telerik by Progress
You can use GridViewImageColumn for this.
I hope this will be useful.
Regards,
Dimitar
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.