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

Invalid JSON primitive

5 Answers 77 Views
Window
This is a migrated thread and some comments may be shown as answers.
Silderado
Top achievements
Rank 1
Silderado asked on 09 Jan 2009, 02:13 PM
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

5 Answers, 1 is accepted

Sort by
0
Silderado
Top achievements
Rank 1
answered on 09 Jan 2009, 04:32 PM
someone?
0
Serrin
Top achievements
Rank 1
answered on 09 Jan 2009, 07:51 PM
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?

0
Silderado
Top achievements
Rank 1
answered on 12 Jan 2009, 10:46 AM
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);
0
Georgi Tunev
Telerik team
answered on 12 Jan 2009, 11:33 AM
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.
0
Anthony
Top achievements
Rank 1
answered on 08 Aug 2014, 04:08 PM
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.
Tags
Window
Asked by
Silderado
Top achievements
Rank 1
Answers by
Silderado
Top achievements
Rank 1
Serrin
Top achievements
Rank 1
Georgi Tunev
Telerik team
Anthony
Top achievements
Rank 1
Share this question
or