Telerik: RadChart working in DotNetNuke

In order to get the RadChart charting controls to work correctly in DotNetNuke you must first take into account that DNN rewrites all URLs to what are called ‘Pretty URLs’. Because of this the RadChart has a hard time locating the URL of the HttpHandler which creates the chart images.
To fix this you need to help the RadChart instance out by telling it where the HttpHandler URL is. This can be done by setting the HttpHandler URL through the RadChart’s HttpHandlerUrl property in the Page Load event of your DNN module control as shown below.

myRadChartInstance.HttpHandlerUrl = ResolveUrl("ChartImage.axd") ;

   		   	

2 thoughts on “Telerik: RadChart working in DotNetNuke

  • Hi schleichermann,

    Thank you very very much for putting this in your blog! I've spend already 2 hours in figuring out why it was'nt working correct and i assumed it had to do with the axd.

    Just tried your suggestion and it works perfect!!

    djebe

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s