Posted on: 6/17/2014 11:18:40 AM | Views : 381

Hello,
I have a folder placed into my project as \images\charts_img\. in this folder i am saving some images. These images are actually the microsoft charts which i will going to download on the click of an image button. Below is the code which I have wrote for this functionality:
string tmpChartName = "XY_Chart_of_"+ddlXAxis.SelectedValue.ToString()+"_vs_"+ddlYAxis.SelectedValue.ToString()+ ".jpg";                 string imgPath = HttpContext.Current.Request.PhysicalApplicationPath+"images\\charts_img\\"+ tmpChartName;                 oChart.SaveImage(imgPath, ChartImageFormat.Jpeg);                            ...

Go to the complete details ...