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

'offsetLeft' is null or not an object

6 Answers 119 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Amanda Jackson
Top achievements
Rank 1
Amanda Jackson asked on 22 Jul 2009, 08:04 PM
After updating to Q2 - I am now receiving this javascript error on the RadUpload control.  Ideas?  Thanks.

6 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 23 Jul 2009, 08:59 AM
Hi Amanda,

Can you give more information on how do you use RadUpload (styled or no) and where do you get this javascript error - when loading the page, hovering over the control? Also there was an additional round of fixes to RadUpload lately - you can try with the next internal build that comes out if the problem goes away.

Sincerely yours,
Kamen Bundev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Amanda Jackson
Top achievements
Rank 1
answered on 23 Jul 2009, 02:08 PM

<

 

td style="width:auto">

 

<

 

telerik:RadUpload InputSize="20" Width="100%"

 

 

EnableFileInputSkinning="false"

 

 

Enabled="false"

 

 

ControlObjectsVisibility="None"

 

 

ID="radUploadFiles"

 

 

runat="server"

 

 

Skin=""

 

 

EnableEmeddedStyleSheets="false"

 

 

EnableEmbeddedSkins="false"

 

 

MaxFileInputsCount="20"

 

 

MaxFileSize="10485760"

 

/>

 

 

</

 

td>

 

 

 

 

 


I get the error when I hover over the control.

 

0
Accepted
Paul
Telerik team
answered on 24 Jul 2009, 09:00 AM
Hello Amanda,

You tested your code snippet using the latest version of the control, but we were not able to reproduce the issue. Please download the Latest Internal Build (see attached screenshot for details) and let us know how it goes.

Greetings,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Amanda Jackson
Top achievements
Rank 1
answered on 24 Jul 2009, 02:15 PM
Thanks so much for that - worked great.  Have a good day.
0
Monique Smartt
Top achievements
Rank 1
answered on 27 Jul 2009, 10:51 PM
I am encountering the same issue, with a little difference. I have a Upload control inside of a RadWindow. I have had no problems, until updating to 2009 Q2 Release. When I even hover over the control, either the TextBox or the browse button I am getting JavaScript errors for parentNode is null or not and object as well as the offsetLeft is null or not an object.

My markup is as follows:
 
            <asp:Label ID="lblFile" runat="server" CssClass="Label Break" Text="*File:" /> 
            <telerik:RadProgressManager ID="progManager" runat="server" Skin="Office2007" /> 
            <telerik:RadUpload ID="uploadDocument" runat="server" EnableFileInputSkinning="false" 
                    InputSize="50" Width="100" MaxFileInputsCount="1" ControlObjectsVisibility="None" 
                    AllowedFileExtensions=".pdf,.doc,.tiff,.tif,.xls,.mdi,.wav,.wma" MaxFileSize="10000000" /> 
            <telerik:RadProgressArea ID="progArea" runat="server" Skin="Office2007" /> 

Like I said previously I do not even have to click anything just hover. I hesitate to try using the internal build solution recommended on this post as this application is in production.

Your help is greatly appreciated.

Thanks
0
T. Tsonev
Telerik team
answered on 28 Jul 2009, 08:08 AM
Hi,

I can confirm that this issue is fixed in the latest internal build. That said I'd still recommend that you test any updates in a staging environment first. Please, excuse us for any inconvenience caused by this issue.

Greetings,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload (Obsolete)
Asked by
Amanda Jackson
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Amanda Jackson
Top achievements
Rank 1
Paul
Telerik team
Monique Smartt
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or