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

BinaryImage = null

4 Answers 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
miksh
Top achievements
Rank 1
Iron
miksh asked on 10 May 2012, 02:46 PM
When the binary image in database is null the radGrid does render <img> tag with an empty src which causes displaying a missing image placeholder. I know that I can display a default image instead. But in most cases we need to display nothing. How to do it declaratively? If not possible, please add this feature into the next releases.

4 Answers, 1 is accepted

Sort by
0
miksh
Top achievements
Rank 1
Iron
answered on 14 Aug 2012, 01:05 PM
Any update?
0
Tsvetina
Telerik team
answered on 17 Aug 2012, 09:03 AM
Hello,

You can do this client-side with a single line of jQuery, once the page is loaded:
function pageLoad(sender, args) {
    $telerik.$("img[src='']").css("display", "none");
}


All the best,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
miksh
Top achievements
Rank 1
Iron
answered on 17 Aug 2012, 12:20 PM
Thanks for a workaround.
It would be nice to have such a feature out-of-the-box. Can you add this suggestion into your tracker?
0
Tsvetina
Telerik team
answered on 22 Aug 2012, 10:03 AM
Hi,

I added this as a feature request in PITS. You can follow its status here:
http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/12383

Regards,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
miksh
Top achievements
Rank 1
Iron
Tsvetina
Telerik team
Share this question
or