Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Tree View IE web control

Posted on 2004-04-19
5
831 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

807 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