473,396 Members | 2,147 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.

Possible Bug: Using a scrollable treeview

I programmatically place a treeview inside a DIV tag to enable scrolling. I
am also dynamically populating the nodes in the ExpandNode event. Before
placing the treeview within the Div, everything worked properly.

After wrapping it within the div tag, I get the following behavior:

* If I click in any of the nodes that are visible without scrolling, they
expand properly
* If I use the arrow keys to scroll up or down to 'newly visible' node and
press the right arrow key, they expand properly
* if I use the mouse wheel to scroll to scroll up or down to 'newly visible'
node and click on a node they expand properly
**** if I grab the scroll bar slider or click on the scroll bar arrows to
scroll up or down to 'newly visible' node and click to expand a THE NODE
DOES NOT EXPAND.

weirder still, in all the above scenarios EXCEPT the last one my scroll
position stays where it should(On the expanded node) BUT in the last
scenario (When no event fires) my scroll position jumps to the top of the
tree. (Scrolling back down to where you were reveals that the node did not
expand - as well debugging does not enter the expand event)

Anyone have any ideas related to why I am seeing this? Besides that one
scenario - I am seeing the scrolling behavior I need with minimal effort.

Thanks
Rod Billett

Nov 17 '05 #1
0 1412

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

Similar topics

0
by: Ramon Guerrero | last post by:
I'm not sure if this is a bug or not, but i just now noticed this today. When i was setting the properties for the control, i set the "Scrollable" property to false, but then later i realized i...
2
by: Neeraj | last post by:
Hii , We have DB2 7.1 on windows and we are trying to use a type 4 driver to connect to the data base . I have included the db2jcc.jar in the class path . I am able to create a connection to...
9
by: Jim | last post by:
The below problem occurs randomly too, but I've managed to isolate a sequence of events when it always happens: I have two forms (say Form1 and Form2). Form 1 contains a TreeView control. A...
5
by: Brian Henry | last post by:
Hello, I want to make a control that has a scrollable Gantt type display (not really one but will look similar to one) this is going to be custom drawn (i already have the drawing procedure...
0
by: Andrew Ducker | last post by:
Nodes display as whitespace when scrollable is set to false, and more nodes are cleared and recreated than will fit into the space available. Steps to replicate: Create a form, with a button...
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...
14
by: Gerry Vandermaesen | last post by:
I'm having a problem with IE which displays my page footer partly beneath the viewable/scrollable window. It seems to calculate the bottom margin from the top of the div without looking at it's...
0
by: Kenneth McDonald | last post by:
Sorry for crossposting to several lists, but from what I can tell, what I want to do may involve several different areas of expertise. (None of which I have :-( ) I'd like to use Gecko as the UI...
0
by: liz0001 | last post by:
I have seen many examples on how to use the .load() function to load in static elements, but I am trying to load a dynamic element, specifically a scrollable. I have gotten it to the point where:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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.