473,698 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

scrollbar in treeview

I am using VS 2005 (VB.NET) web forms.

I have a webforms Master page, using a header and left side template.

I have a content form with a ASP 2 treeview control in the content
placeholder on the left side cell.

How can I have a scrollbar when the treeview expands beyond the bottom of
the page? I don't want the scrollbar for the entire page, just the treeview
content placeholder.

I am currently using a panel with scrollbars set to auto, which works
allright except that I have to set the Height of the panel in pixels, which
does not adjust to the client resolution.

Feb 28 '06 #1
1 2500
you have the correct solution. just add client script to resize the panel on
the window.resize event.

-- bruce (sqlwork.com)

"bill" <be****@datamti .com> wrote in message
news:uN******** ******@TK2MSFTN GP14.phx.gbl...
I am using VS 2005 (VB.NET) web forms.

I have a webforms Master page, using a header and left side template.

I have a content form with a ASP 2 treeview control in the content
placeholder on the left side cell.

How can I have a scrollbar when the treeview expands beyond the bottom of
the page? I don't want the scrollbar for the entire page, just the
treeview content placeholder.

I am currently using a panel with scrollbars set to auto, which works
allright except that I have to set the Height of the panel in pixels,
which does not adjust to the client resolution.

Feb 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1990
by: Victor Crudu | last post by:
Hi, could somebody help me to solve the follwing problem ? I get the following exception when i set as the DataSource of a DataGrid a DataTable. This situation can be only if I change programaticaly the minimum property of the scroll bar to be >0. But i even do not have access to the scroll bars of the grid because the scrollbars are protected. Unhandled Exception:
0
1357
by: sonali_reddy123 | last post by:
Hi, I am having a problem regarding use of a treeview. The problem is whether it is possible to set a default position to the scrollbar so that if any of the treenode contains the text bigger than the size specified for the treeview the scroll doesn't move to the treeview max size and display the end of the node's content but should stay at some specified position and user may move it later to view entire text.
2
3518
by: Michael C# | last post by:
Hi all, I need a treeview with the vertical scrollbar on the left-hand side of the control. Can someone point me in the right direction for the best way to do this? Articles, source code, links, etc. all appreciated. TIA
0
2380
by: Gene Hubert | last post by:
I've got two treeviews side by side on a panel on a form. They each have about 20 nodes in them. The treeview on the right has a vertical scrollbar. The treeview on the left needs a vertical scrollbar but does not have one. I have tried TreeView.Scrollable = True and calling ExpandAll() before the tree view is displayed with no success. I have checked the value of .Scrollable at runtime and it is true. If I select a node in the...
2
2671
by: Benny Raymond | last post by:
Does anyone know what causes a treeview to sometimes start with a horizontal scrollbar that has no reason to be there, and will not go away until you size into the nodes and then back out? Anyone know how to correct this bug? My treeview was working fine until I added it to a tab page :( Thanks, Benny
0
1408
by: Sanjib Biswas | last post by:
Hi, I would like to know how to synchronize the vertical & horizontal scrollbars in 2 TreeView to move up & down, left & right synchronously. Noticed that TreeView does not have any scroll event for vertical & horizontal scroll. Any idea how to manage this in VB.Net 2005? I have also tried to debug windows message through the WndProc() routine and when I move the scrollbars in the TreeView it does not generate WM_HSCROLL (276),...
0
1478
by: Christof Nordiek | last post by:
Hi, Below is a simple program that demonstrates my poblem. i fill a treeview with nine nodes. Then the treeview is shown with a scrollbar. But I can't scroll to the last item. scrolling to the bottom the last item remains almost nvisable. What is the matter? using System; using System.Collections.Generic;
0
1993
by: bipi | last post by:
Now, I have treeview with Scrollbar properties is true, it mean that I will have two scroll (vertical scrollbar and horizontal scrollbar) . So, I don't want to use horizontal scrollbar, I want to kill this scroll. Please give some idea or solution for this problem. Many thank,
0
1225
by: Jay | last post by:
Hello, I am working on an application where I need to change Image of TreeView Controls scrollbar. Is that posiible in C# and if so how? Can anybody provide sample Code? Thanks and Regards Jay
0
9018
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8858
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7711
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5859
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3038
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2322
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.