JavaScript Error in IE8 and Chrome 2.0

14 posts, 0 answers
  1. Mike
    Mike avatar
    26 posts
    Member since:
    Jun 2008

    Posted 21 Jul 2009 Link to this post

    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

  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 22 Jul 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. thomson
    thomson avatar
    22 posts
    Member since:
    Jun 2009

    Posted 17 Jun 2010 Link to this post

    Hi Mike,
                i do also face the same Problem, Can u let me know how did you fix it

    Regards

    Thomson
  5. Mike Miller
    Mike Miller avatar
    3 posts
    Member since:
    Jun 2010

    Posted 29 Oct 2010 Link to this post

    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";
  6. Mike
    Mike avatar
    26 posts
    Member since:
    Jun 2008

    Posted 30 Oct 2010 Link to this post

    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?
  7. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 03 Nov 2010 Link to this post

    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
  8. Mike
    Mike avatar
    26 posts
    Member since:
    Jun 2008

    Posted 05 Nov 2010 Link to this post

    I've submitted a ticket with a sample VS Project with which you can reproduce the described problem.
    Ticket-ID is: 364116
  9. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Nov 2010 Link to this post

    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
  10. sherin george
    sherin george avatar
    2 posts
    Member since:
    Jan 2010

    Posted 15 Feb 2011 Link to this post

    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
  11. Mike
    Mike avatar
    26 posts
    Member since:
    Jun 2008

    Posted 15 Feb 2011 Link to this post

    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).
  12. Matz
    Matz avatar
    3 posts
    Member since:
    May 2011

    Posted 27 Sep 2011 Link to this post

    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
  13. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 30 Sep 2011 Link to this post

    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
  14. Sudip
    Sudip avatar
    1 posts
    Member since:
    May 2011

    Posted 08 Mar 2012 Link to this post

    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
  15. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 09 Mar 2012 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017