Home - Forums-.NET - FlyTreeView (ASP.NET) - OnDemand Loading hangs

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

OnDemand Loading hangs
Link Posted: 16-Apr-2008 06:23
I am loading nodes on demand using the built-in AJAX and about 20% of the time the loading hangs and the "Loading..." text just stays there indefinitely.  I added logging to the PopulateNodes serverside event and it gets to the very end of the call and nodes are added on the server side, but they aren't rendered client side.  There are no javascript errors when this happens either.  I am using version 4.3.2.16.   Please advise.

Thanks,
Matt
Link Posted: 16-Apr-2008 06:28
Matt,

Do you HtmlEncode node text (if node can contain HTML special characters to be escaped)?
Is there any change to get a code that we can run and debug locally?
Link Posted: 16-Apr-2008 06:59
Attached is a sample application that I can replicate the issue with.  Inside the zip file is also a screenshot showing the image (HangImage.jpg).  The issue is intermittent but occurs if I try to expand the nodes quickly.

Thanks,
Matt
Link Posted: 16-Apr-2008 23:59
Matt,
Clicked treeview for a long time, quickly and slowly. No error.
What exact browser/OS do you use?
Link Posted: 17-Apr-2008 01:41
I'm using Windows XP with Firefox 2.0.0.13

-Matt
Link Posted: 17-Apr-2008 21:35
Matt,
I tried with IE and Firefox, no errors.
Do you have some Javascript extensions to Firefox (like Firebug or Javascript debugger)?
Do you experience the same problem when opening this test page from other browser (IE) or even other computer?

Could you please also check this page:
http://www.9rays.net/asp.net_2/FlyTreeTest/default.aspx
?
Link Posted: 18-Apr-2008 02:02
I tried the example page from your website and it works fine there.  What I've found is that I can only replicate the issue while going through the VS.NET 2005 built-in web server and using Firefox.  Since that is the case, it will not hinder my application when it is deployed to the internet and I don't need to take up anymore of your time.  Thank you so much for you help with this matter.

Thanks,
Matt