Click here to Skip to main content
15,918,742 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I have designed a RDLC report, in that i used a rdlc image control, bind the external image source to that image. If the imags is not available on the particular path then i want to display the alternate text..'Image not available'. I checked all the properties but not found the property for alternate image.
Posted

You can check the path in server side, send the result in a parameter, in the report you can set the property "Visibility" based on an expression, the expression will be something like "=IIf(Parameters!Exist.Value,true,false)"
 
Share this answer
 
v2
I'm not expert in RDLC(actually on everything), but check this answer.
how to show and hide the image based on expression in rdlc report[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900