Hi,
Im creating a popup with the modalPopUpExtender (ajaxcontroltoolkit Version=3.0.30930.28736), for that im using a asp panel and inside them i got two raddatepicker, combobox, enclosing the panel i got a Updatepanel.. something like this:
<updatepanel>
<panel>
<div>
<raddatepicker1><raddatepicker2><radcombobox>
</div>
<ajaxToolkit:ModalPopupExtender>
</panel>
<aspbutton> //to open the popup
</updatepanel>
The popup opens fine, but when a control fire an event like combobox selectedindexchaged or i close de popup i got this error:
I will appreciate your help.
Im creating a popup with the modalPopUpExtender (ajaxcontroltoolkit Version=3.0.30930.28736), for that im using a asp panel and inside them i got two raddatepicker, combobox, enclosing the panel i got a Updatepanel.. something like this:
<updatepanel>
<panel>
<div>
<raddatepicker1><raddatepicker2><radcombobox>
</div>
<ajaxToolkit:ModalPopupExtender>
</panel>
<aspbutton> //to open the popup
</updatepanel>
The popup opens fine, but when a control fire an event like combobox selectedindexchaged or i close de popup i got this error:
Server Error
in
'/'
Application.
Invalid JSON primitive: {
"minDateStr"
:
"2/28/2012 0:0:0"
,
"maxDateStr"
:
"12/31/2099 0:0:0"
}.
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: {
"minDateStr"
:
"2/28/2012 0:0:0"
,
"maxDateStr"
:
"12/31/2099 0:0:0"
}.
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:
[ArgumentException: Invalid JSON primitive: {
"minDateStr"
:
"2/28/2012 0:0:0"
,
"maxDateStr"
:
"12/31/2099 0:0:0"
}.]
System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +543674
System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +37
System.Web.Script.Serialization.JavaScriptSerializer.DeserializeObject(String input) +13
Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +137
Telerik.Web.UI.RadDatePicker.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +40
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +346
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743
Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3634
I will appreciate your help.