473,396 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

TreeView javascript errors

PL

I get javascript errors when navigating the new asp:treview control.

It doesn't happen allt he time but I click aroudn for a whiel I start getting:

"tree_Data" is undefined
"length" is null or not an object

Similar errors in both IE and firefox.

I ahvent added any scripting of my own or anything "weird" to the tree,
it's pretty straightforward from examples.

You'll have to set IE to show all script errors or open the Firefox javascript prompt
to see them, still it's annoying and there really shouldnt be any script errors at all.

Is this a known bug ? Any workarounds ?

PL.
Nov 19 '05 #1
2 2215
PL


Apparently this happens if you click on it before it has loaded _all_ node information.
That's not a very good design.

PL.

"PL" <pb****@yahoo.se> skrev i meddelandet news:OZ*************@TK2MSFTNGP15.phx.gbl...

I get javascript errors when navigating the new asp:treview control.

It doesn't happen allt he time but I click aroudn for a whiel I start getting:

"tree_Data" is undefined
"length" is null or not an object

Similar errors in both IE and firefox.

I ahvent added any scripting of my own or anything "weird" to the tree,
it's pretty straightforward from examples.

You'll have to set IE to show all script errors or open the Firefox javascript prompt
to see them, still it's annoying and there really shouldnt be any script errors at all.

Is this a known bug ? Any workarounds ?

PL.

Nov 19 '05 #2
I am having the same problem with my tree. Any workaround found?

"PL" wrote:


Apparently this happens if you click on it before it has loaded _all_ node information.
That's not a very good design.

PL.

"PL" <pb****@yahoo.se> skrev i meddelandet news:OZ*************@TK2MSFTNGP15.phx.gbl...

I get javascript errors when navigating the new asp:treview control.

It doesn't happen allt he time but I click aroudn for a whiel I start getting:

"tree_Data" is undefined
"length" is null or not an object

Similar errors in both IE and firefox.

I ahvent added any scripting of my own or anything "weird" to the tree,
it's pretty straightforward from examples.

You'll have to set IE to show all script errors or open the Firefox javascript prompt
to see them, still it's annoying and there really shouldnt be any script errors at all.

Is this a known bug ? Any workarounds ?

PL.


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Amir Ghezelbash | last post by:
Hello, I had a question, i am using TreeView provided with asp.net 2.0, greate control..but sadly it dosenot have drag and drop functionality..so i decided to add it my self ..i have worte the...
3
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%""...
14
by: Mr.D | last post by:
How do I save/load the contents of a Treeview to a file? I have found several good examples written i VB6, but not a single one for VB.NET. Please help. ---- Tim
10
by: p3t3r | last post by:
I have a treeview sourced from a SiteMap. I want to use 2 different CSS styles for the root level nodes. The topmost root node should not have a top border, all the other root nodes should have a...
0
by: Shadow Lynx | last post by:
When using ASP.NET 2.0's built-in TreeView on a page with <BASE target = "AnythingBut_Self"></BASE> in the HEAD, the expand/collapse buttons fail to function. The reason for this is that the...
1
by: Victor Rodriguez | last post by:
Is there a way that I can have a client side event like oncontextmenu="showfunction();" on each node? thanks, Victor
8
by: Matt MacDonald | last post by:
Hi All, I have a form that displays hierarchical categories in a treeview. Ok so far so good. What I was to do is have users be able to select a node in the treeview as part of filling out the...
1
by: doemon | last post by:
Hi, I'm working on a pagination control and I need to dynamically rerender a treeview to display the next set of nodes depending on which page we're on. For example, page 1 will dispaly only...
2
by: Antonio | last post by:
Hi, I would like to have my TreeNode to call window.close(); without posting back, how can I do that? At the same time, I prefer to have a SelectAction property that allows my TreeNode to appear...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.