This is a migrated thread and some comments may be shown as answers.

Java script error only for IE8

7 Answers 183 Views
Grid
This is a migrated thread and some comments may be shown as answers.
cheekl
Top achievements
Rank 2
cheekl asked on 12 Mar 2012, 06:15 AM
My page using radGrid. During form edit, I disable and enable the drop down based conditionally. It is working fine in IE9 and chrome,
but in IE8 I encounter error.

this._displayElement.style.borderRightWidth=parseInt($telerik.getComputedStyle(this._displayElement,"border-right-width",""))+parseInt($telerik.getComputedStyle(this._textBoxElement,"border-right-width",""))+"px";


7 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 13 Mar 2012, 09:29 AM
Hello,

We ware alerted about this problem after the release of Q1 2012, and it is already fixed. Try the latest internal build and write us if you still have troubles.

The problem was that in IE8 the "border-right-width" style of an element returns "medium" instead of number. And then it could not be parsed correctly to int.

Greetings,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Peter Hofling
Top achievements
Rank 1
answered on 20 Mar 2012, 02:43 PM
Hello,

The same error occur in RadInputScript.js when using an RadInput.

var a=parseInt($telerik.getComputedStyle(this._textBoxElement,"border-right-width",""));

a=a?2:a;

var c=parseInt($telerik.getComputedStyle(this._textBoxElement,"border-right-width",""));

c=c?2:c;

this._displayElement.style.borderRightWidth=a+c+"px";


a='NaN'
c='NaN'

The latest internal build does not fix this.

/PH

0
Zekok
Top achievements
Rank 1
answered on 23 Mar 2012, 08:38 AM
Same problem with RadDatepicker and RadNumerixTextbox, please publish a hotfix.
0
Vasil
Telerik team
answered on 26 Mar 2012, 07:56 AM
Hi all,

Indeed there is another problem similar to these that we fixed last week. So we are fixing this right now and it should be published in the next available hot-fix on Wednesday.

Kind regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Peter
Top achievements
Rank 1
answered on 09 May 2012, 11:08 AM
Hi,

I'm using the latest Sitefinity 5.0 SP1 which uses RadControls v.2012.1.215. I now have the same problem als mentioned in this thread. I can use the new RadControls dll's so this problem is fixed, but then my Sitefinity is unstable. What do you suggest?

Regards,
Peter
0
Vasil
Telerik team
answered on 10 May 2012, 09:11 AM
Hi Peter,

If you can't use the service pack for Q1 2012, then set EnableSingleInputRendering="false" for your inputs, and the problem will be resolved.

Greetings,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Peter
Top achievements
Rank 1
answered on 11 May 2012, 10:19 AM
Hi Vasil,

your "workaround" works indeed. Thank you for that!

Regards,
Peter
Tags
Grid
Asked by
cheekl
Top achievements
Rank 2
Answers by
Vasil
Telerik team
Peter Hofling
Top achievements
Rank 1
Zekok
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Share this question
or