Page size - Display error Under IE8/IE8

6 posts, 0 answers
  1. Rafal Tynski
    Rafal Tynski avatar
    13 posts
    Member since:
    Oct 2009

    Posted 22 Feb 2012 Link to this post

    I get Error in JS:

    https://localhost/Telerik.Web.UI.WebResource.axd?
    _TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2012.1.215.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen%3a3d78a983-ceee-4e0e-a7ef-b0fa8a4023a3%3ab7778d6c%3a8e6f0d33%3a6a6d718d%3ae085fe68%3a58366029

     Page is render Somethinng like image added.
    Double number 1.After mouse move on one number one is hidden.


    Line Of this Code:

    this._displayElement.style.borderRightWidth=parseInt($telerik.getComputedStyle(this._displayElement,"borderRightWidth",""))+parseInt($telerik.getComputedStyle(this._textBoxElement,"borderRightWidth",""))+"px";
    >>$telerik.getComputedStyle(this._displayElement,"borderRightWidth","")
    "medium"
    $telerik.getComputedStyle(this._textBoxElement,"borderRightWidth","")
    "2px"
    IE8
    <SPAN style="TEXT-ALIGN: left; LINE-HEIGHT: normal; DISPLAY: inline; FONT-FAMILY: Verdana; COLOR: #000000; FONT-SIZE: 12px; BORDER-LEFT-WIDTH: medium" id=ctl00_CPH_Body_rgMain_ctl00_ctl03_ctl01_ChangePageSizeTextBox_display class=riDisplay>1</SPAN>
    Chrome
    <span class="riDisplay" id="ctl00_CPH_Body_rgMain_ctl00_ctl03_ctl01_ChangePageSizeTextBox_display" style="color: rgb(0, 0, 0); display: inline; font-family: 'segoe ui', arial, sans-serif; font-size: 12px; line-height: normal; text-align: center; padding-left: 5px; padding-right: 5px; border-left-width: 0px; border-right-width: 3px; ">1</span>



    Second Image Is under IE8 with IE7 compatybility.




  2. Antonio Stoilkov
    Admin
    Antonio Stoilkov avatar
    530 posts

    Posted 27 Feb 2012 Link to this post

    Hi Rafal,

    Your issue could be caused by the call to getComputedStyle. In order to further investigate the issue and advise you with the best possible solution you could send us a sample code or a live URL showing the unwanted behavior.

    Regards,
    Antonio Stoilkov
    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. Tim
    Tim avatar
    1 posts
    Member since:
    Jul 2011

    Posted 12 Mar 2012 Link to this post

    We are also getting a similar issue with the edit forms on some of our pages. When the rad window opens in the browser to edit or insert a grid item, an "Invalid argument" JavaScript error occurs on this line:

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

    This seems to have been introduced with the latest release of the AJAX controls. I have been able to reproduce the issue on IE7 and 8 so far. IE6, IE9, Firefox and Chrome seem to be working fine though. I will look into this a little more to see if I can narrow down the issue on our end.
  5. Antonio Stoilkov
    Admin
    Antonio Stoilkov avatar
    530 posts

    Posted 15 Mar 2012 Link to this post

    Hi Tim,

    Your issue have been reported by other customers and have been forwarded to the developers and it is now fixed in the latest internal build. You could download it from the URL provided below. Note that you should log in your account.

    Kind regards,
    Antonio Stoilkov
    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.
  6. Paul
    Paul avatar
    17 posts
    Member since:
    May 2011

    Posted 22 May 2012 Link to this post

    I am receiving this exact same error and have applied the latest internal build and the issue is still happening.

    Is there something else I could try?
  7. Antonio Stoilkov
    Admin
    Antonio Stoilkov avatar
    530 posts

    Posted 24 May 2012 Link to this post

    Hello Paul,

    We have made improvements in our RadTextBox control for the beta which is already available for download. You could try downloading and observing if the issue still persists. If your problem is not resolved you could send us a sample code where the problem could be reproduced so we could further investigate and advise you with the best possible solution.

    Regards,
    Antonio Stoilkov
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017