Solved

Tree View IE web control

Posted on 2004-04-19
5
836 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
[X]
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
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

630 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