Rad chart save method not working.

Thread is closed for posting
1 posts, 0 answers
  1. CCDCFD82-61C1-445F-965A-59B89827AA98
    CCDCFD82-61C1-445F-965A-59B89827AA98 avatar
    16 posts
    Member since:
    Oct 2009

    Posted 09 Oct 2009 Link to this post

    I am using rad chart in sharepoint(wss) site.

     

    Using following code :

    MemoryStream chartStream = new MemoryStream();

    RadChart2.Save(chartStream, ImageFormat.Png);

    FileStream outStream = File.OpenWrite(Server.MapPath(@"/_layouts/1033/IMAGES/MyChart_stream.png"));

    chartStream.WriteTo(outStream);

    outStream.Close();

    But when I am running my site in another computer system, Iam not getting image in path I put. Only in local system I am getting image inpath I put in code..Please send SOLUTION as soon as possible to me.

     


Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.