Rad chart save method not working.

1 posts, 0 answers
  1. divya sahu
    divya sahu 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.