Rank: Newbie Groups: Member
Joined: 2/29/2012 Posts: 4
|
Hello,
I am getting following server error when i click on context menu after resizing the column of the grid.
"server error: your request cannot be processed at this time. Please try reloading the page or login"
Following is the error log:
Input string was not in a correct format. Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at EO.Web.Internal.ed.b(kt[] A_0) at EO.Web.Internal.ed.a(kt A_0) at EO.Web.Internal.ch.ac() at EO.Web.WebControlBase.LoadViewState(Object savedState) at EO.Web.Grid.a(Object A_0) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByID(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I am using 12.0.18.2 version. The problem seems to be related to IE 11 since it is working fine on Chrome.
Please advise.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Please update to the latest build and see if it resolves the issue. The issues seems to be caused by that IE 11 passed a float value instead of an int value as in early versions. Your EO.Web version was released in 2010 and IE 11 was released in 2013. So it has not been tested on IE 11. I believe this issue is fixed in the latest build so it should work fine.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 2/29/2012 Posts: 4
|
Hi,
Thanks for the response.
I have found a temporary solution where i am resetting the column width using ClientSideOnColumnResize after converting it to integer. I am using following code:
function ClientSideOnColumnResize(grid, column) { var width = column.getWidth(); grid.getColumn(column.getIndex()).setWidth(parseInt(width)); }
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Yes. That looks like a very smart workaround. Thanks for sharing!
|