Solved

Tree View IE web control

Posted on 2004-04-19
5
822 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:Mayank S
  • 2
  • 2
5 Comments
 
LVL 28

Expert Comment

by:mmarinov
ID: 10859876
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:Mayank S
ID: 10877771
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:Mayank S
ID: 10915696
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
ID: 10915807
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
ID: 10916577
Closed, 125 points refunded.
modulo
Community Support Moderator
Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

15 Experts available now in Live!

Get 1:1 Help Now