Iam using rad control inside modal popup in asp.net 3.5, and getting following Error. So please tell me why iam getting this error.
Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_ContentPlaceHolder1_RadCalendar1' can't be added to the application.
5 Answers, 1 is accepted
I'm not able to replicate the described issue locally. Please find attached a sample application which works correctly on my side. Test it locally and let me know what the difference in your case is.
Greetings,
Maria Ilieva
the Telerik team
Thanks for your response,
As you send me this demo project, like this my project is also working fine.
I getting problem when doing following.
1- i have one radGrid with Button Column(for edit record).
2- when i click in this button where i have written server side code modalpopup.show(), that time iam getting this error.
"Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_ContentPlaceHolder1_RadTextBox1' can't be added to the application."
Somewhere i have read to set ScriptManager proparty script mode to release then it is solving this issue, but creating another following error.
Iam also sending some screen shot to you, please see it.
Invalid JSON primitive: .
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentException: Invalid JSON primitive: .
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Could you please open a regular support ticket and send us small runnable application which replicates the described error. We will test it locally and provide more to-the-point solution.
Sincerely yours,
Maria Ilieva
the Telerik team
Did u able to resolve this issue, as i am getting same exception.
I am using RadGrid with RadTabStrip inside nested Detail.
Message: Invalid JSON primitive: .
Stack Trace: at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject()
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)
at Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection)
at Telerik.Web.UI.RadInputControl.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)