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

JavaScript Error in IE8 and Chrome 2.0

13 Answers 176 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 21 Jul 2009, 11:20 PM

Hi

I am testing a new website with IE8 and Chrome 2.0 and noticed some strange behavior with Telerik TreeView. I'm using Telerik.Web.UI Version 2009.2.701.35. On this Website, I have 2 TreeViews which works great in FireFox without any problems, but if I open the Website in Internet Explorer 8.0 or Chrome 2.0 the left TreeView doesn't work. Screenshots:

Website in IE 8.0: http://bit.ly/cqvc6

Website in Chrome 2.0: http://bit.ly/6YkBU


Both Browsers are installed on Windows Vista SP2 with default Settings (I made no changes to the configuration after installation)

 

In IE 8.0 I receive many of the following JavaScript Errors:

-------------------------------------------------------------------------------------------------------
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 21 Jul 2009 22:52:07 UTC

Message: 'this._element' is null or not an object
Line: 1931
Char: 1
Code: 0
URI: http://localhost:4500/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ade-CH%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.701.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-CH%3a7e598a31-3beb-49a1-914c-5f530240f0ea%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3ae524c98b%3ae330518b%3ac8618e41%3ae4f8f289%3aed16cbdc%3a874f8ea2%3a19620875%3a33108d14%3abd8f85e4

-------------------------------------------------------------------------------------------------------

 

Do you have any suggestions to fix this problem.

Thank you in advanced.


Beste regards

Mike Miller

13 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 22 Jul 2009, 07:12 AM
Hi Mike,

We have not encountered such problem before. We need either a live url or a sample project which reproduces the JavaScript error. To send us a sample you need to open a support ticket.

Kind regards,
Albert
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
thomson
Top achievements
Rank 1
answered on 17 Jun 2010, 07:00 AM
Hi Mike,
            i do also face the same Problem, Can u let me know how did you fix it

Regards

Thomson
0
Mike Miller
Top achievements
Rank 1
answered on 30 Oct 2010, 04:07 AM
Hi,

It seems that TreeView is not made for large trees. The described error occurs on my page when a TreeView has more than ~2700 objects.

It depends also:
1. how large the strings are you put into treeView.DataTextField and treeView.DataValueField 
2. which browser you use (firefox is the only browser which can handle over 3000 objects)

Interesting: The object-limit is per TreeView, that mean you can have several TreeViews which all has under ~2700 objects that are working correctly on the same page.

@Telerik What's the max. limit of objects or how many nodes and how many items can you recommend to use with TreeViews? 

            treeView.DataTextField      = "Name";
            treeView.DataValueField     = "Value";
            treeView.DataTextField      = "Name";
            treeView.DataValueField     = "Value";

            treeView.DataTextField      = "Name";
            treeView.DataValueField     = "Value";

            treeView.DataTextField      = "Name";
            treeView.DataValueField     = "Value";
0
Mike
Top achievements
Rank 1
answered on 30 Oct 2010, 10:00 PM
There's also a problem with Internet Explorer 9 beta (IE9) / Platform Preview 6 and TreeViews: The only possibility to expand a node is to double click on it. Is this a known issue?
0
Nikolay Tsenkov
Telerik team
answered on 03 Nov 2010, 03:29 PM
Hello Mike,

About the problem with more than 2700 nodes:
 - Please, post some code reproducing the problem.

About support for the Beta of IE 9:
 - We do not support browsers in Beta stage of development. Here is a reference on browser support of RadControls for ASP.NET AJAX: http://www.telerik.com/products/aspnet-ajax/getting-started/browser-support.aspx

Hope that soon we will resolve the problem you experience!


Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mike
Top achievements
Rank 1
answered on 06 Nov 2010, 03:16 AM
I've submitted a ticket with a sample VS Project with which you can reproduce the described problem.
Ticket-ID is: 364116
0
Yana
Telerik team
answered on 08 Nov 2010, 10:38 AM
Hello Mike,

Thank you, we'll check the ticket.

Best wishes,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
sherin george
Top achievements
Rank 1
answered on 16 Feb 2011, 01:56 AM
Have you got a solution for this? I am also experiencing the same issue with IE8.0. A javascript error "Error: 'this._element' is null or not an object" is displayed on the browser when tried to expand the node. (The same things works fine in all other browsers including IE7).
I use 2010.2.713.40 with VS 2010.

Thanks,
Sherin George
0
Mike
Top achievements
Rank 1
answered on 16 Feb 2011, 02:00 AM
Unfortunately there is no solution for this problem which means you have to change your tree size. Try to reduce the no of nodes in your tree(s).
0
Matz
Top achievements
Rank 1
answered on 27 Sep 2011, 10:17 AM
Any more ideas about this? When will you at Telerik fix it?

Here is another example where it doesn't work in IE 8 (but in IE 9 and Chrome 14.0.835...):
http://www.lansstyrelsen.se/uppsala/Sv/om-lansstyrelsen/forfattningar/Pages/default.aspx
0
Plamen
Telerik team
answered on 30 Sep 2011, 11:41 AM
Hello Matz,

I observed your website and I noticed that you use not only Telerik controls on it and there is another jquery involved as well. Sometimes there may occur a conflict between different jquery. Would you please try to remove the other one and test again.

You can also consider Load the nodes on Demand as in the demo.

Regards,
Plamen Zdravkov
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
Sudip
Top achievements
Rank 1
answered on 09 Mar 2012, 02:03 AM
Hi Mike,

I am also experiencing same issue, if number of nodes are > 3000. Did you find any solution for that?
Please let me know.

Thanks
Sudip
0
Plamen
Telerik team
answered on 09 Mar 2012, 01:54 PM
Hi Sudip,

Would you please post some code that will reproduce the issue and clarify the browser version in which it can be observed?

All the best,

Plamen Zdravkov
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
TreeView
Asked by
Mike
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
thomson
Top achievements
Rank 1
Mike Miller
Top achievements
Rank 1
Mike
Top achievements
Rank 1
Nikolay Tsenkov
Telerik team
Yana
Telerik team
sherin george
Top achievements
Rank 1
Matz
Top achievements
Rank 1
Plamen
Telerik team
Sudip
Top achievements
Rank 1
Share this question
or