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

this.get_element().offsetWidth error

4 Answers 71 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
David Laredo
Top achievements
Rank 1
David Laredo asked on 22 Dec 2010, 10:38 AM
After read the known issue "A JavaScript error can occur when using the debug versions of the MS AJAX library (<compilation debug="true"> in web.config)." we set ScriptMode="Release" property of the ScriptManager.

But when we do click in any tab of the tabscript we are getting this error:
Error: 'this.get_element().offsetWidth' is null or isnt a object.



4 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 23 Dec 2010, 09:41 AM
Hi David Laredo,

Do you reproduce this with a single RadTabStrip on the page or are there other controls and/or JavaScript code? Can you share a live URL where the error can be seen?

Kind regards,
Simon
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
HMcCracken
Top achievements
Rank 1
answered on 28 Dec 2010, 05:25 PM

I can reproduce this error consistently. When the page initially loads there are no problems, I open a rad window, close it (causes other controls to refresh based on RadAjaxRequest call), then clicking on the tabs of the rad strip I get the exception:

Line: 1979
Error: 'this.get_element().offsetWidth' is null or not an object

0
Kamen Bundev
Telerik team
answered on 02 Jan 2011, 03:33 PM
Hello,

We are still not able to reproduce the error here. Can you provide at least a code sample and tell us in which browser and which RadControls for ASP.NET AJAX version are you using? Thank you in advance.

All the best,
Kamen Bundev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
HMcCracken
Top achievements
Rank 1
answered on 02 Jan 2011, 06:14 PM

The error is caused by potentially invalid or missing control references for RadAjaxManagerProxy (UpdatedControls). After fixing those the errors went away regardless of being in debug or not.



Tags
TabStrip
Asked by
David Laredo
Top achievements
Rank 1
Answers by
Simon
Telerik team
HMcCracken
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or