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

Page size - Display error Under IE8/IE8

5 Answers 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
TomaszRabiasz
Top achievements
Rank 1
TomaszRabiasz asked on 22 Feb 2012, 11:32 AM
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.




5 Answers, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 27 Feb 2012, 07:34 AM
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.
0
Tim
Top achievements
Rank 1
answered on 12 Mar 2012, 06:29 PM
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.
0
Antonio Stoilkov
Telerik team
answered on 15 Mar 2012, 09:26 AM
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.
0
Paul
Top achievements
Rank 1
answered on 22 May 2012, 05:04 PM
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?
0
Antonio Stoilkov
Telerik team
answered on 24 May 2012, 12:04 PM
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.
Tags
Grid
Asked by
TomaszRabiasz
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Tim
Top achievements
Rank 1
Paul
Top achievements
Rank 1
Share this question
or