i have a big problem here..i am using Microsoft charting controls in my asp.net mvc application..pie chart is working in my Mozilla Firefox perfectly when i open try to run the application in IE the chart is not displaying. when i refresh the page couple of times its showing the chart there?
is there anything doing wrong?
please can anybody help me out
thanks
I use also Microsoft Chart control in my ASP.NET MVC application. The problem which you describe can not appears in my case. I can explain why. I have a MVC Controller with the method
GetChartwhich gives back pure PNG file as a stream. So I define on a HTML page (on a View to be exactly) a<img>element withsrcattribute like"<%= Url.Content ("~/Home/GetChart")%>". So web browser load and display a PNG graphic only. Such implementation works perfect in all browsers. It is also tested and works with IE6.My
GetChartmethod looks like following:The code of the model
MyChartModelis a little longer, but if you have already a implementation of Microsoft Chart you have already all needed.