Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 23, 2011 03:00 PM by Sagar1304
Dec 22, 2011 03:20 PM|LINK
In my aspx page i am using jquery from which i am calling httphandler.
in this httphandler, i am rendering chart control by below mentioned code.
HtmlTextWriter _HtmlTextWriter = new HtmlTextWriter(_StringWriter);
and return string in result.
but in aspx page getting error of 404 not found for image url.
Help me to solve this.!!
Dec 22, 2011 06:50 PM|LINK
Right click in the browser and copy image URL, paste it in the address bar and see what happens.
Dec 23, 2011 04:22 AM|LINK
i have tried that.
it shows url for the image of chart like below:
but it shows same error "404 Not Found".
Is there aby workaround for this?
Dec 23, 2011 08:35 AM|LINK
Please check if handler is configured correctly in the web.config
type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Dec 23, 2011 09:03 AM|LINK
below is httphandler
Dec 23, 2011 09:17 AM|LINK
Can it be because of this problem?
Dec 23, 2011 09:44 AM|LINK
I solved this by implementing IRequiresSessionState.
and now its rendering image of chart properly.
Dec 23, 2011 03:00 PM|LINK
i have just noted that after implementing that interface now it will not fullfill further request untill HTTPHANDLER response has received.
is there any workaround to solve this?