Error Loading RadChart when i click logout button

Thread is closed for posting
6 posts, 0 answers
  1. RamaKrishna P
    RamaKrishna P avatar
    7 posts
    Member since:
    Jun 2010

    Posted 24 Jan 2013 Link to this post

    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>

  2. Missing user
    Missing user avatar

    Posted 29 Jan 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RamaKrishna P
    RamaKrishna P avatar
    7 posts
    Member since:
    Jun 2010

    Posted 10 Feb 2013 Link to this post

    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
  5. Missing user
    Missing user avatar

    Posted 13 Feb 2013 Link to this post

    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.
  6. RamaKrishna P
    RamaKrishna P avatar
    7 posts
    Member since:
    Jun 2010

    Posted 02 Mar 2013 Link to this post

    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
  7. Missing user
    Missing user avatar

    Posted 06 Mar 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017