This is a migrated thread and some comments may be shown as answers.

Error Loading RadChart when i click logout button

5 Answers 87 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
RamaKrishna P
Top achievements
Rank 1
RamaKrishna P asked on 25 Jan 2013, 05:59 AM
hi,
i am getting ERROR LOADING RADCHART IMAGE? when i click my logout button in my live chart.
<telerik:RadChart ID="RadChart1" runat='server' UseSession="false" CreateImageMap="False"   
                ChartImageFormat="png" Height="500px" Width="800px" AutoLayout="True" TempImagesFolder="~/TempImg"  >
And
 Protected Sub lgoutlbl_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lgoutlbl.Click
  RadChart1.HttpHandlerUrl = ResolveUrl("ChartImage.axd")
        RadChart1.Series.ClearDataBoundState()
        RadChart1.Clear()
 End Sub
And
 <httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=31BF3856AD364E35, Version=3.5.0.0" verb="*" validate="false"/>
 </httpHandlers>
 <system.webServer>
<handlers>
<add name="ChartImageHandler" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler"/>
</handlers>
 </system.webServer>

5 Answers, 1 is accepted

Sort by
0
Missing User
answered on 29 Jan 2013, 05:56 PM
Hello RamaKrishna,

It seems there is a problem with one of the registrations -- the version should match the Telerik.Web.UI.dll version. Alternatively, you can remove the Culture, Version and PublicKeyToken or even remove both registrations altogether and use the VisualStudio smart tag as shown in #4 here.

 If you still encounter problems, it would be best that you open a formal support ticket and send a sample project that reproduces the problem so that we can investigate further.

Best regards,
Ivan N.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
RamaKrishna P
Top achievements
Rank 1
answered on 11 Feb 2013, 04:08 AM
remove both registrations altogether and use the VisualStudio smart tag  to Add httphandlers and webserver handlers.but still i am getting Error Loading Rad Chart Image? when i click logout button .i am adding items to the Ajax rad Chart control for every second to show live data in radchart.
Protected Sub lgoutlbl_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lgoutlbl.Click

       RadChart1.HttpHandlerUrl = ResolveUrl("ChartImage.axd")
        RadChart1.Series.ClearDataBoundState()
        RadChart1.Clear()

   End Sub

Can u Plz tell me the possible solution to slove the problem
0
Missing User
answered on 13 Feb 2013, 11:40 AM
Hello RamaKrishna,

By default, RadChart uses the session to store its image. Since you experience the problem during logout, it may be because the session is being cleared whenever the user logs out. Please try setting UseSession to false and TempImagesFolder="Temp", where "Temp" is the name of a folder in the web application's root folder. After you do this, RadChart will use the Temp folder to store its image. Note that the ASP.NET user should have permissions to write to the Temp directory as described here.

Regards,
Ivan N.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
RamaKrishna P
Top achievements
Rank 1
answered on 03 Mar 2013, 05:11 AM
hi
thanku very much for ur reply.but still i am gettting error loading RadChart Image message when connection between clinet to server is disconnected.

 Protected Sub lgoutlbl_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lgoutlbl.Click
      RadChart1.HttpHandlerUrl = ResolveUrl("ChartImage.axd")
        RadChart1.Series.ClearDataBoundState()
        RadChart1.Clear()
    End Sub
0
Missing User
answered on 06 Mar 2013, 12:50 PM
Hello RamaKrishna,

I'm sorry to see that I couldn't solve your problem. The solutions proposed so far have been useful in the past for the majority of cases where this error has been encountered. Would it be possible for you to isolate the problematic code in the form of a sample project that reproduces the problem? If so, I'd like to once again encourage you to open a formal support ticket, which you currently are entitled to. Formal support tickets are a better way for a customer to resolve a problem, since the customer can send archive file attachments and the response time frame is 24 hours rather than 72 hours (for forum posts).

All the best,
Ivan N.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
RamaKrishna P
Top achievements
Rank 1
Answers by
Missing User
RamaKrishna P
Top achievements
Rank 1
Share this question
or