How can I disable RadChart from rendering a style, the javascript onerror call, and the additional script block. I want to simply show a RadChart that does not involve any further user interaction nor postbacks.
For example, here's what my RadChart outputs:
and here's what I'd like it to output:
or better yet:
For example, here's what my RadChart outputs:
<div id="ctl04_BarCharts_ctrl1_BarChart" class=" RadChart" style="height:44px;width:293px;"> |
<img alt='' style='border-width: 0px;' src='ChartImage.axd?UseSession=true&ChartID=530d344a-c0c1-408c-b083-88a56c512866_chart_ctl04$BarCharts$ctrl1$BarChart&imageFormat=Png&random=0.0234165825058783' onerror="if(confirm('Error loading RadChart image.\nYou may also wish to check the ASP.NET Trace for further details.\nDisplay stack trace?'))window.location.href=this.src;" /><input id="ctl04_BarCharts_ctrl1_BarChart_ClientState" name="ctl04_BarCharts_ctrl1_BarChart_ClientState" type="hidden" /> |
</div><script type="text/javascript"> |
//<![CDATA[ |
Sys.Application.add_init(function(){}); |
//]]> |
</script> |
and here's what I'd like it to output:
<div id="ctl04_BarCharts_ctrl1_BarChart" class=" RadChart"> |
<img alt='' src='ChartImage.axd?UseSession=true&ChartID=530d344a-c0c1-408c-b083-88a56c512866_chart_ctl04$BarCharts$ctrl1$BarChart&imageFormat=Png&random=0.0234165825058783' /> |
</div> |
or better yet:
<img alt='' src='ChartImage.axd?UseSession=true&ChartID=530d344a-c0c1-408c-b083-88a56c512866_chart_ctl04$BarCharts$ctrl1$BarChart&imageFormat=Png&random=0.0234165825058783' /> |