I have a page with some RadDockZones and RadDocks. I have some buttons which, upon clicking user client and server side manipulation of the docks and zones. Relatively easily it is possible to get the following error message:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: {"Top":381,"Left":576,"DockZoneID":"","Collapsed":false,"Pinned":false,"Resizable":true,"Closed":false,"Width":"47%","Height":null,"ExpandedHeight":0,"Index":0}.
I have tried the AjaxManager request start/end fix as suggested in another post:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: {"Top":381,"Left":576,"DockZoneID":"","Collapsed":false,"Pinned":false,"Resizable":true,"Closed":false,"Width":"47%","Height":null,"ExpandedHeight":0,"Index":0}.
I have tried the AjaxManager request start/end fix as suggested in another post:
<
asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
<telerik:RadAjaxManager runat="server" ID="RadAjaxManangerProject" DefaultLoadingPanelID="RadAjaxLoadingPanel1" RequestQueueSize="2">
<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
</telerik:RadAjaxManager>
<script type="text/javascript">
var AjaxIsActive = false;
function RequestStart() {
if (!AjaxIsActive) {
AjaxIsActive =
true;
}
else {
alert(
'Wait for ajax to finish');
return false;
}
}
function ResponseEnd() {
AjaxIsActive =
false;
}
but it doesn't help.
ANy ideas?
Cheers