Invalid JSON primitive

6 posts, 0 answers
  1. Silderado
    Silderado avatar
    94 posts
    Member since:
    Jun 2007

    Posted 09 Jan 2009 Link to this post

    Hi, I'm using the version ASPNET AJAX Q2 2008, and when you access a new window, and closing access this happening again the error: Invalid JSON primitive

    URGENT need of aid
  2. Silderado
    Silderado avatar
    94 posts
    Member since:
    Jun 2007

    Posted 09 Jan 2009 Link to this post

    someone?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 09 Jan 2009 Link to this post

    Heya Silderado,

    So... you're saying you open a RadWindow (I am guessing using RadWindow.Show() somewhere?), and when you close the window you get that error message?

    Is there any way you can post the code you are using for the aspx/.cs that is involved?  Also, not sure if this helps at all, but here is a post with a similar problem that references a problem found in an older version of the control which was fixed in newer releases.  Do you have all the service packs for Q2?

  5. Silderado
    Silderado avatar
    94 posts
    Member since:
    Jun 2007

    Posted 12 Jan 2009 Link to this post

    After closing the window when I try to perform any action the error occurs.

    I'm using the service pack for Q2.

    This post I had already checked and not helped me.

    The code I'm using to open a new window:

       RadWindow Consulta = new RadWindow();
       Consulta.ID = "RadWindowManager1";
       Consulta.NavigateUrl = "Tela.aspx";
       Consulta.VisibleOnPageLoad = true;
       Consulta.Width = 550;
       Consulta.Height = 480;
       RadWindowManager1.Windows.Add(Consulta);
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 12 Jan 2009 Link to this post

    Hi Silderado,

    The code that you posted looks OK and should not be the reason for such problem. At this point I cannot tell what is the exact reason for such error, but if you open a support ticket and send me a full sample project where this error can be reproduced, I will check it right away.


    Kind regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Anthony
    Anthony avatar
    7 posts
    Member since:
    Oct 2013

    Posted 08 Aug 2014 Link to this post

    For any future people that might get this error, I found it was because I had a ScriptManager in both my popup window AND master page.  Removing the duplicate instance(s) of this (either asp:ScriptManager or RadScriptManager) so there was only one instance of it, which I kept in my master page, resolved this issue.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017