Java script error only for IE8

8 posts, 0 answers
  1. cheekl
    cheekl avatar
    55 posts
    Member since:
    Jul 2012

    Posted 12 Mar 2012 Link to this post

    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";


  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 13 Mar 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peter Hofling
    Peter Hofling avatar
    2 posts
    Member since:
    Jul 2010

    Posted 20 Mar 2012 Link to this post

    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

  5. Zekok
    Zekok avatar
    1 posts
    Member since:
    Apr 2009

    Posted 23 Mar 2012 Link to this post

    Same problem with RadDatepicker and RadNumerixTextbox, please publish a hotfix.
  6. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 26 Mar 2012 Link to this post

    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.
  7. Peter
    Peter avatar
    13 posts
    Member since:
    Aug 2011

    Posted 09 May 2012 Link to this post

    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
  8. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 10 May 2012 Link to this post

    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.
  9. Peter
    Peter avatar
    13 posts
    Member since:
    Aug 2011

    Posted 11 May 2012 Link to this post

    Hi Vasil,

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

    Regards,
    Peter
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017