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

Trap "Data not loaded: Object doesn't support this property or method" errors

5 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Toby
Top achievements
Rank 1
Toby asked on 28 Jan 2011, 12:43 PM
Hi, I am using various telerik components which are working fine. If the server goes down and someone still has the web application open and they click on something that will cause a callback, you will get the following error

Data not loaded: Object doesn't support this property or method

this is easy to trap in Firefox (using window.onerror) but it does not work in IE, whats the best way of dealing with this as "Data not loaded: Object doesn't support this property or method" does not mean anything to an end user.

thanks

5 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 02 Feb 2011, 01:44 PM
Hi Toby,

Please revise the following kb article:
http://support.microsoft.com/kb/308260

Kind regards,
Maria Ilieva
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
Toby
Top achievements
Rank 1
answered on 02 Feb 2011, 05:15 PM
I don't think you've really read my question, Im aware that you can stop IE from displaying the errors. We develop an application thats is released to external companies so we cannot ask them to change there IE settings.

In Firefox you can trap these errors (as detailed in my first question) I just want to know if you can trap them in IE using code (NOT by changing browser settings)

thanks
Toby
0
Maria Ilieva
Telerik team
answered on 07 Feb 2011, 05:04 PM
Hi Toby,

Could you please let me know what RadControls are you using on the page and which one of them exactly is causing the issue? Thus we could provide possible coding way for handling this error or even better prevent it.


Regards,
Maria Ilieva
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
Toby
Top achievements
Rank 1
answered on 09 Mar 2011, 12:25 PM
any of your components receiving there data from a webservice reproduce it, all you have to do is have it running though the asp.net development server and then stop this server, you will then see the "Data not loaded: Object doesn't support this property or method" errors in the browser (which can be trapped in firefox - just not in IE)

cheers
0
Maria Ilieva
Telerik team
answered on 14 Mar 2011, 04:48 PM
Hello Toby,

Note that the way you need to handle the mentioned JavaScript error is not a case which is directly related to our RadControls and it is out of our scope. This is browser related issue which is IE specific.


Regards,
Maria Ilieva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Toby
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Toby
Top achievements
Rank 1
Share this question
or