I have image column in database and i need to retrive the value from image url data from db to my auto generated column in rad grid
please reply'
Thanks in advance
3 Answers, 1 is accepted
0
Tsvetina
Telerik team
answered on 07 Apr 2011, 10:06 AM
Hi,
The binary image columns do not get autogenerated. You can declare a GridBinaryImageColumn manually in order to display the images. A sample of GridBinaryImageColumn is available in the following online demo: Binary Images and Upload in Grid
Greetings,
Tsvetina
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
Yes your reply is useful.. But i need to bind image url in autogenerated column..
And how to bind auto generated column as Image column( GridImageColumn)
here i have attach screen shot in that grid color in side cell automatically change according some value from database(orange).
columns in the grid autogenerated . i have to change color as image..
thanks in advance
0
Tsvetina
Telerik team
answered on 13 Apr 2011, 12:03 PM
Hello,
As I previously said, RadGrid does not autogenerate image columns and the autogenerating logic cannot be modified. An alternative solution would be to create your grid columns manually in code-behind based on the fields datatype for example. These help articles deal with dynamic column/grid creation: Changing the grid structure dynamically on postback Programmatic creation