Sign in to follow this  
qua

Export Chart (Javascript) Throws Exceptions

Recommended Posts

I'm using ASP.NET MVC 4 and I have no issues with saving the chart using the flash method, everything works fine. However when generating just javascript charts and saving the chart, it throws some errors.

 

The first error it throws is that "A potentially dangerous Request.Form value .... "

 

So the first thing I do is set

 

go to FCExporter.aspx and set ValidateRequest="false"

then in the webconfig I set <httpRuntime requestValidationMode="2.0" />

 

Now that exception is not shown any more but a new error is thrown

 

"##ffffff is not a valid value for Int32."

 

Why doesn't the save as jpeg/png not work in the javascript mode? Please advise.

post-44380-0-89206200-1368558521_thumb.jpg

post-44380-0-67600700-1368558523_thumb.jpg

post-44380-0-24275400-1368558526_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this