Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 19th, 2006, 07:26 AM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default scroll Tree of webcontrol

Hi

I am using tree of Webcontrol component .I placed it in a div that will scrolls if number of nodes is exceed.

some times tree will be very long and user need to scroll to see special node how could i scroll tree to a node i try with javascript but it didn't help me .
Thaks for any Guides

A.Doroudian



  #2 (permalink)  
Old June 20th, 2006, 10:24 PM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You have to set the DIV to a specific height and width. When the tree exceeds the height, the scroll bars will show if you set scroll = auto on the DIV tag.

Jim

  #3 (permalink)  
Old June 25th, 2006, 09:25 AM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks jim

I know how to set scroll of div .
I use tree in div And tree scolls but when i select a node of tree
I need div scroll to show it automatically with out scrolling by user.at the moment I don't have any idea to solve it,I appreciate if I know your idea

Regrads
Ali



Similar Threads
Thread Thread Starter Forum Replies Last Post
deploying custom webcontrol pratik28 General .NET 0 June 10th, 2006 01:08 PM
Reflection and WebControl jdang67 ASP.NET 2.0 Professional 1 October 20th, 2005 04:14 PM
Treeview Webcontrol problem Victor ADO.NET 2 September 9th, 2004 10:55 AM
DownLoad treeview ----WebControl HandSomeLi All Other Wrox Books 2 March 15th, 2004 10:10 AM
help in TreeView Webcontrol Victor .NET Web Services 1 September 25th, 2003 06:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.