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

ImageUrl in GridAttachmentColumn

2 Answers 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matteo Beretta
Top achievements
Rank 1
Matteo Beretta asked on 13 May 2010, 06:11 PM
Hi,
i have a gridattachmentcolumn, when i set the imageurl at runtime i can't see the image
post some code:

     <telerik:GridAttachmentColumn UniqueName ="colTPdf" FileNameTextField="ORT.OTCLIE" AttachmentKeyFields="ORT.OTNUOR" Text="Scarica ordine" ImageUrl="~/images/icoGear.png" > 
            </telerik:GridAttachmentColumn> 

thank you

2 Answers, 1 is accepted

Sort by
0
Accepted
Schlurk
Top achievements
Rank 2
answered on 13 May 2010, 06:44 PM
I actually had something similar happen to me and I ended up realizing that the ImageURL is only applied if you have defined the "ButtonType" property of the AttachmentColumn to be an "ImageButton". I found that piece of information in the Column types documentation article and that took care of everything for me!
0
Matteo Beretta
Top achievements
Rank 1
answered on 14 May 2010, 01:44 PM
thank you very much!
Tags
Grid
Asked by
Matteo Beretta
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Matteo Beretta
Top achievements
Rank 1
Share this question
or