Click here to Skip to main content
15,886,071 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys, is it possible show images inside the reportviwer in thumbnail mode, i cant change the original image size, so i must dynamic change the image size .
Posted

1 solution

Hi there, You can do that by first u have to create a separate page and in that page u have to take a image control then on its page load u have assign this image its url, now this page u have use it in ur report to make it display. during report init u can set its height and width.
 
Share this answer
 
Comments
ambarishtv 31-May-11 5:04am    
my 5
kenali99 1-Jun-11 23:42pm    
now i am using imaghandlar.ashx to resize the image inside the reportviewer, first it works but i forget after i changed something, it not work anymore. my code like this
param1.Values.Add(String.Format(hostPath + "/Utilits/ImageHandler.ashx?maxWidth=80&maxHeight=60&image={0}", "/imagesfolder/myimage.jpg"));

the ImageHandler.ashx just use to resize the image.

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