by default, the chart's DeploymentScenario.ImageUrl property is something like Chart_#SEQNUM(100).png. the #SEQNUM bit means that the charts will be named in a sequence of 1-100, and then start writing at 1 again. this means the folder will not get bigger over time.
the gauge handles things a bit differently by default, you will see words like #CLIENT and #SESSION in the DeploymentScenario.ImageURL, which means the ClientID of the control and a Session ID will be used in the filename. these files get deleted by the gauge's Dispose method, so disk space should not be an issue with the gauge either.
it is also possible to stream images through an .aspx page using Session-based deployment, if you want to avoid using the file system altogether.
Thanks . it worked
---------------------------------------------ve may bay & ve may bay gia re
madhavipamulapati:
protected void Page_Load(object sender, EventArgs e) { this.UltraGauge1.DeploymentScenario.Mode = ImageDeploymentMode.Session; }
How to set deployment senario mode to session for ultra guage in code behind ( i.e aspx.cs )