Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi guys

I am trying to use of stimule web designer, I need to load an image dynamically from server map path , but when I load the report it doesn't show anythings , thanks in advanced for any help or idea.

this is my code :
C#
StiImage image = new StiImage();
            
            //image.File = "~/Pictures/1007.jpg";
            //image.File = Server.MapPath("~/Pictures/1007.jpg");
            //image.ImageURLValue = "~/Pictures/1007.jpg";
            image.ImageURL.Value = Server.MapPath("~/Pictures/1007.jpg");


            report.Compile();
            report.CompiledReport.DataSources["ds1"].Parameters["@param"].ParameterValue = tid;

            report["MyImage"] = image;
           
            StiWebViewer1.Report = report;
            StiWebViewer1.Visible = true;
            report.Render();
Posted
Updated 16-May-12 5:59am
v2

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