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

DataAlternateTextField not displayed

3 Answers 23 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alfons
Top achievements
Rank 1
Alfons asked on 23 Sep 2014, 05:51 PM
In a GridImageColumn there is a DataAlternateTextField atribute informed with a DataItem. There are some urls that doesn't pont to any vàlid file, but the Alternate text is not shown; The alternate text exists but the grid displays an imatge placeholder.

The code is:

​<telerik:GridImageColumn HeaderText="Sintrom[I]" DataImageUrlFields="ImagenSintrom" DataImageUrlFormatString="{0}" 
    UniqueName="Sintrom" DataAlternateTextField="TooTipSintrom">
</telerik:GridImageColumn>


3 Answers, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 26 Sep 2014, 07:27 AM
Hello Alfons,

I am not sure about the exact scenario but I suppose that you are viewing the image in Chrome. If that is the case the behavior experienced is expected and is caused by a bug in webkit as mentioned here. To verify this you can place the following HTML on the page that should behave the same ways as the image in the image column.

ASPX:
<img alt="No Image" src="wrongurl" />

If you are using another browser or the above HTML behaves in a different way from the image column I would like to ask you to share with us the entire page contents(markup and code-behind) so we could further research the matter.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Alfons
Top achievements
Rank 1
answered on 26 Sep 2014, 05:42 PM
I have the same problem with IE.11
0
Viktor Tachev
Telerik team
answered on 01 Oct 2014, 11:32 AM
Hi Alfons,

I have answered your query in the support ticket you have submitted. If the approach suggested there is acceptable, you could share it with the community, so someone with a similar issue could benefit from it.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Alfons
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Alfons
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or