Solved

Tree View IE web control

Posted on 2004-04-19
5
815 Views
Last Modified: 2007-12-19
Hi folks,

I have an IE tree-view web control in an ASP.NET application. The tree view is displayed in a pop-up modal window, where the window does not have any scroll bar, where as the tree view control has scroll bars. Now the problem is on load some node is selected by default (depending on some business rules).

But if this node is not visible in the focused area of the tree view control, one has to scroll down the control to view the selected node. Instead I was looking forward to some mechanism by which a selected node automatically scrolls and is visible in the focus-area of the tree view control.
 
My requirement seems to be similar to EnsureVisible() method in a Windows Forms Tree View ;-)

Any pointers on the same will be of great help.

Thanks,
Mayank.
0
Comment
Question by:mayankeagle
  • 2
  • 2
5 Comments
 
LVL 28

Expert Comment

by:mmarinov
Comment Utility
Hi Mayank and sorry for not posting here but in the other question
i suggest you to try SmartNavigation=True in the @Page
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWebUIPageClassSmartNavigationTopic.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconPage.asp


B..M
0
 
LVL 30

Author Comment

by:mayankeagle
Comment Utility
Hi mmaroniv,

Sorry, the SmartNavigation = "true" still doesn't work. I was told by some people that its not possible to obtain scrolling in the IE treeview.

One work-around which has been suggested by some is that I should add the nodes to the tree-view such that the node to be selected is always added first and remains at the top always (hence visible) - but well, the requirements may go against that - the case might be that I want all nodes to be in alphabetical order and based on some business rules, I want to select a node in the middle.

Any other suggestions?

Thanks,
Mayank.
0
 
LVL 30

Author Comment

by:mayankeagle
Comment Utility
mmarinov,

From what I have found out, I guess it is not possible to implement scrolling in the IE web TreeView (it is possible only at Window level). Do you have any objections if I get this question deleted?

Mayank.
0
 
LVL 28

Expert Comment

by:mmarinov
Comment Utility
Hi mayankeagle,
Of course I don't have any objections - it is your right for deleting the question - i haven't answer

B..M
0
 

Accepted Solution

by:
modulo earned 0 total points
Comment Utility
Closed, 125 points refunded.
modulo
Community Support Moderator
Experts Exchange
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now