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
0
miksh
Top achievements
Rank 1
Iron
answered on 14 Aug 2012, 01:05 PM
Any update?
0
Hello,
You can do this client-side with a single line of jQuery, once the page is loaded:
All the best,
Tsvetina
the Telerik team
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?
It would be nice to have such a feature out-of-the-box. Can you add this suggestion into your tracker?
0
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
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.