We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Temp Folder

Thread ID:

Created:

Updated:

Platform:

Replies:

70253 Dec 4,2007 11:38 AM UTC Jul 21,2008 08:18 AM UTC ASP.NET Web Forms (Classic) 16
loading
Tags: Chart
Emad G BARSOUM
Asked On December 4, 2007 11:38 AM UTC

Hello,

I recently bought the Charting Tool and it wonderful, but I have a problem:

Everytime I view the Chart compeont it creates a temp image in the root folder of my application.

I need to clear these images, so can I set the folder in which they are created so that I can clear them on regular intervals? or is there an easier way?

Thanks
Ihab Al Kabary


Rajarajeswari S [Syncfusion]
Replied On December 5, 2007 12:39 PM UTC


Hi Ihab,

Thanks for using Syncfusion products.

This is the default behavior of Chart Please set the "OutputFormat" property to "Handlers" instead of "diskfile". When it is set as disk file the temporary files get saved in your disk itself. But when you set it as "Handlers" they are handled by handlers and get erased automatically.

Note:

Please include the "httphandlers" tag in your webconfig file.

Please let me know if you have any other concerns:

Regards,
Raji



Danny
Replied On December 6, 2007 02:26 AM UTC

Hi Raji,

Could you please me how to set the "type" of the httphandler in the web.config.

Thanks.




Jack
Replied On December 6, 2007 03:11 AM UTC

I set the OutputFormat="Handler"
and also add the http handler to the web.config like this:




But when I run the project, the chart cannot be shown correctly, there is red cross on the legend and the chart body.

Maybe you can tell me if I need to do more configuration. Thanks



Jack
Replied On December 6, 2007 03:12 AM UTC

I set the OutputFormat="Handler"
and also add the http handler to the web.config like this:




But when I run the project, the chart cannot be shown correctly, there is red cross on the legend and the chart body.

Maybe you can tell me if I need to do more configuration. Thanks



Rajarajeswari S [Syncfusion]
Replied On December 6, 2007 01:03 PM UTC

Hi,

We can apply OutputFormat for the chart control using the below code snippet:

this.ChartWebControl1.OutputFormat = ImageProviderOutputFormat.Handler;

In the web config file we have to add the below http handlers:





Please refer the sample from the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Chart.Web/5.2.0.25/F70253/main.htm

Here it works fine. The chart rendered properly, there is no red cross on legend.

Please try this and let me know if this helps you out.

Regards,
Raji




Emad G BARSOUM
Replied On December 10, 2007 07:58 AM UTC


Thanks ... works LOVELY

>Hi,

We can apply OutputFormat for the chart control using the below code snippet:

this.ChartWebControl1.OutputFormat = ImageProviderOutputFormat.Handler;

In the web config file we have to add the below http handlers:





Please refer the sample from the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Chart.Web/5.2.0.25/F70253/main.htm

Here it works fine. The chart rendered properly, there is no red cross on legend.

Please try this and let me know if this helps you out.

Regards,
Raji







Emad G BARSOUM
Replied On December 10, 2007 07:59 AM UTC

One thing though:

Whats syncfusion_generate.ashx thats in the Web.Config


Rajarajeswari S [Syncfusion]
Replied On December 11, 2007 11:45 AM UTC


Hi,

The requests to be processed by the web page can be specified using the httpHandlers element in the Web configuration file. The ChartControl uses a custom HTTP handler for processing client requests for rendering the chart image on to the web page. While creating charts using the ChartControl, defining httphandlers with the "*" verb and path and type attributes is mandatory.

The "*" verb is used to place no restrictions on the types of requests serviced by the handler. The path attribute specifies the point name to be mapped to the handler and the type attribute specifies the type and Syncfusion assemblies from which the type should be loaded, to service requests.

So syncfusion_generate.ashx this the point mapped with httphandlers to render the chart image on the web page.

Please let me know if this helps you out.

Regards,
Raji



Clift Norris
Replied On February 7, 2008 08:48 PM UTC

One important note. Apparently the web.config info has CHANGED between versions of Essential Chart. I'm using version 5.102 and ran across knowledgebase documentation that said:




The documentation said just "change the version number" to suit what you are using.


This clearly won't work: It looks like versions (at least) 5.102 and newer require this:


httpHandlers>






-Clift




Melba Winshia [Syncfusion]
Replied On February 8, 2008 08:35 AM UTC

Hi Clift,

Thank you bringing this issue to our attention.

The http handler has been changed from 5.x versions. We have updated the changes in the Knowledge base.

Please let me know if you have any other concerns.

Thanks,
Melba


Aurimas Strikulis
Replied On July 15, 2008 01:13 PM UTC

Hello.

I have recently downloaded this charting component (version 6.303.0.25) and now i'm facing same problem as author of this topic: by default chartWebControl is set to use "Handler" output format, but for some reason pictures ar not displayed (i think they aren't generated at all). If i set output format to "DiskFile", everything is working fine (though i had to set write permissions for IIS process on application folder).
Web config file contains a mentioned line with "syncfusion_generate.ashx" (chartWebControl generates it itself), so i wonder maybe this is a permission problem (I develope on Vista with VS2008)?



Screen_2d4e093b.zip

Manohari [Syncfusion]
Replied On July 18, 2008 12:14 PM UTC

Hi Aurimas,

Thanks for your interest in Syncfusion products.

ChartWebControl does not require any permission settings when working with Handler OutputFormat in Vista Environment. However, I am afraid I am unable to reproduce this issue in Vista Environment.

I followed the following steps:

1) Open a new application.
2) Drag drop a ChartWebControl on to the Webform.
3) Run the application.

Application runs properly and the chart control is also displayed correctly.

Could you please let me know if I am missing something. Also could you provide us with additional information on the enviroment [eg. Vista 64 bit or 32 bit etc] in which this issue is reproduced?

Also let us know if you are placing ChartControl in UpdatePanel or MasterPage in your application etc

Kindly let us know if you need any other information. Thanks for your patience.

Regards,
Manohari.R


Aurimas Strikulis
Replied On July 21, 2008 07:13 AM UTC

Hello Manohari.



I repeated these 3 steps you made and still get same results: no pictures.

System information:
Windows Vista Enterprise 32-bit, Service Pack 1. Computer is bound to windows domain controler.

I dont know if this info will help but there: when i ran setup, i selected to install only charting component.

I also tryed to run same application from Visaul Studio 2005 and result is the same.



Best Regards,
Aurimas.



Screen2_d147a992.zip

Aurimas Strikulis
Replied On July 21, 2008 07:37 AM UTC

Forgot to add: no master pages or update pannels there used.

Aurimas.


Aurimas Strikulis
Replied On July 21, 2008 08:12 AM UTC

Hello again.

I have found where problem was and was able to fix it: by default new IIS7 (which goes with Vista) application pools are set to use "Integrated" managed pipeline mode, and with this type of pipeline charts are not generated with "Handler" output format. When i set pipeline to "Classic", charts started to work correctly.
So i think you should add this info to user guide or somethere else.

Best Regards,
Aurimas.



Pipelines_12d3ada1.zip

Manohari [Syncfusion]
Replied On July 21, 2008 08:18 AM UTC

Hi Aurimas,

Thanks for the update. We are glad that your problem has been resolved. We will update our Documentation with this information in our future releases.

Kindly let us know if you have any other queries. We will be glad to assist you.

Regards,
Manohari.R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;