I've got an error after update the version to 2008.3.1314.35 release.
The error occurs after an ajax request (in bold at the code below) in a
java script function that handles the event "OnClientButtonClicked" of
a RadToolBar.
The function is
Additionaly, the page has a "RadDatePicker" control:
and an UserControl that has a RadGrid.
The error message (the error message says that an overflow have occurred in an arithmetic operation):
[Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Operação aritmética resultou em um estouro.' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: onHTTPSpyReadyStateChange :: line 483" data: no]
http://localhost:1769/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3apt-BR%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2008.3.1314.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3apt-BR%3aef502ffb-86f7-4d96-ad3a-fbb934d602ab%3a16e4e7cd%3aed16cbdc%3a19620875%3a1e771326%3aa7e79140%3a854aa0a7%3a874f8ea2%3a5a6d9d23%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1%3aaa288e2d%3a58366029
Line 6
P.S.: The error wasn't occurring in previous version.
Best regards,
Gilvan Calou
The function is
function OnToolbarClicked(sender, args) { |
var value = args.get_item().get_value(); |
var ajaxManager = GetAjaxManager(); |
var selItemsTmp = GetSelectedItems(); |
alert(selItemsTmp.length); |
if (value == "Submit") { |
var selectedItems = GetSelectedDataItem().value; |
if (selItemsTmp != null && selItemsTmp.length > 0) { |
comment = GetComment(); |
value = value + "=" + comment; |
value = value + ";Items=" + selectedItems; |
GetSelectedDataItem().value = ""; |
ShowAlphaDiv(); |
ajaxManager.ajaxRequest(value); |
} |
else { |
alert('<%=GetLocalResourceObject("SelectAtLeastOneReport")%>'); |
} |
} |
else if (value == "ShowHistory") { |
if (selItemsTmp != null && selItemsTmp.length == 1) { |
GetSelectedDataItem().value = ""; |
ShowAlphaDiv(); |
ajaxManager.ajaxRequest(value); |
} |
else { |
alert('<%=GetLocalResourceObject("SelectJustOneReport")%>'); |
} |
} |
else { |
GetSelectedDataItem().value = ""; |
ShowAlphaDiv(); |
ajaxManager.ajaxRequest(value); |
} |
} |
Additionaly, the page has a "RadDatePicker" control:
<telerik:RadDatePicker ID="radPeriodStart" Height="15px" runat="server" ClientEvents-OnDateSelected="OnDateSelected" |
style="margin-top: 0px;"/> |
and an UserControl that has a RadGrid.
The error message (the error message says that an overflow have occurred in an arithmetic operation):
[Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Operação aritmética resultou em um estouro.' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: onHTTPSpyReadyStateChange :: line 483" data: no]
http://localhost:1769/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3apt-BR%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2008.3.1314.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3apt-BR%3aef502ffb-86f7-4d96-ad3a-fbb934d602ab%3a16e4e7cd%3aed16cbdc%3a19620875%3a1e771326%3aa7e79140%3a854aa0a7%3a874f8ea2%3a5a6d9d23%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1%3aaa288e2d%3a58366029
Line 6
P.S.: The error wasn't occurring in previous version.
Best regards,
Gilvan Calou