Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

Getting Error on using context menu after resizing the column Options
kartik
Posted: Tuesday, May 16, 2017 6:03:51 AM
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.


eo_support
Posted: Tuesday, May 16, 2017 9:42:35 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 19,749
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!
kartik
Posted: Friday, May 19, 2017 10:05:42 AM
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));
}


eo_support
Posted: Friday, May 19, 2017 10:12:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 19,749
Yes. That looks like a very smart workaround. Thanks for sharing!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.