473,386 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Hierarchal Tree Control in a combobox

Outside of building a custom ActiveX control that would need to run on the
user's machine and have security attributes set to allow such, does anyone
have any code that will allow a combobox to display a tree of items? I could
display a tree control, but that takes a lot of space on the page. I have
seen comboboxes in non-web apps uses such a thing. I want to be able to
display a tree in a compact fashion. Any ideas would be appreciated.
Nov 17 '05 #1
4 2564
Would an <IFrame> containing the tree control do the job
"David W. Simmonds" <da***@simmonds.ca> wrote in message
news:%D***********************@news3.calgary.shaw. ca...
Outside of building a custom ActiveX control that would need to run on the
user's machine and have security attributes set to allow such, does anyone
have any code that will allow a combobox to display a tree of items? I could display a tree control, but that takes a lot of space on the page. I have
seen comboboxes in non-web apps uses such a thing. I want to be able to
display a tree in a compact fashion. Any ideas would be appreciated.

Nov 17 '05 #2
What is an IFrame? Is it represented in a small space and expands when
needed like a combobox?

"Ron Vecchi" <ve******@comcast.net> wrote in message
news:OE**************@tk2msftngp13.phx.gbl...
Would an <IFrame> containing the tree control do the job
"David W. Simmonds" <da***@simmonds.ca> wrote in message
news:%D***********************@news3.calgary.shaw. ca...
Outside of building a custom ActiveX control that would need to run on the user's machine and have security attributes set to allow such, does anyone have any code that will allow a combobox to display a tree of items? I

could
display a tree control, but that takes a lot of space on the page. I have seen comboboxes in non-web apps uses such a thing. I want to be able to
display a tree in a compact fashion. Any ideas would be appreciated.


Nov 17 '05 #3
You can do the same thing with a tree control. You can make it a certain
size and the control has a scrollbar. Is that not the same idea? Can you
point me at a sample webpage that I can view with a browser to see what you
mean as an example?

"Ron Vecchi" <ve******@comcast.net> wrote in message
news:ew**************@TK2MSFTNGP10.phx.gbl...
Its a floating frame. You specify the width and height.

You can specify if it should scrool if the inner content reaches past the
bounds of the IFrame

Its an HTML element
"David W. Simmonds" <da***@simmonds.ca> wrote in message
news:7e***********************@news2.calgary.shaw. ca...
What is an IFrame? Is it represented in a small space and expands when
needed like a combobox?

"Ron Vecchi" <ve******@comcast.net> wrote in message
news:OE**************@tk2msftngp13.phx.gbl...
Would an <IFrame> containing the tree control do the job
"David W. Simmonds" <da***@simmonds.ca> wrote in message
news:%D***********************@news3.calgary.shaw. ca...
> Outside of building a custom ActiveX control that would need to run on
the
> user's machine and have security attributes set to allow such, does

anyone
> have any code that will allow a combobox to display a tree of items?
I could
> display a tree control, but that takes a lot of space on the page. I

have
> seen comboboxes in non-web apps uses such a thing. I want to be able

to > display a tree in a compact fashion. Any ideas would be appreciated.
>
>



Nov 17 '05 #4
Hello David,

I didn't see such web server controls before. Surely we could develop one in a windows forms control or ActiveX control and
then host it in web page. However, I think you have know this way before.

On my opinion, developing it as a new web server control is a time consuming work. I think you could just use a tree control
and manage the content of the control to control the size of it. Or you could just add several combobox server control in the
page to simulate it. In this way, you could save a lot of time.

Tree server control: http://www.codeproject.com/aspnet/treeweb.asp
Combobox server control: http://www.coreyhulen.com/

Hope it helps.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!X-Trace-PostClient-IP: 68.147.103.224
!From: "David W. Simmonds" <da***@simmonds.ca>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Subject: Hierarchal Tree Control in a combobox
!Lines: 8
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <%D***********************@news3.calgary.shaw.ca >
!Date: Sun, 27 Jul 2003 17:06:03 GMT
!NNTP-Posting-Host: 24.71.223.147
!X-Complaints-To: ab***@shaw.ca
!X-Trace: news3.calgary.shaw.ca 1059325563 24.71.223.147 (Sun, 27 Jul 2003 11:06:03 MDT)
!NNTP-Posting-Date: Sun, 27 Jul 2003 11:06:03 MDT
!Organization: Shaw Residential Internet
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!
in.100proofnews.com!in.100proofnews.com!pd2nf1so.c g.shawcable.net!residential.shaw.ca!
news3.calgary.shaw.ca.POSTED!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162427
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Outside of building a custom ActiveX control that would need to run on the
!user's machine and have security attributes set to allow such, does anyone
!have any code that will allow a combobox to display a tree of items? I could
!display a tree control, but that takes a lot of space on the page. I have
!seen comboboxes in non-web apps uses such a thing. I want to be able to
!display a tree in a compact fashion. Any ideas would be appreciated.
!
!
!
Nov 17 '05 #5

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

Similar topics

1
by: patuww | last post by:
I have found the Common Table Expressions described in SQL 2005 and I am not sure if it applies to this situation. Here are the tables <PRE> <B>ManagedServer Table</B> --IdManagedServer (PK,...
1
by: CSharp | last post by:
How to create Tree-like ComboBox in C#? Any code samples appreciated.
5
by: Quan Nguyen | last post by:
How can I obtain the textbox (editing field) control of the combobox? I tried combobox.Controls to obtain the collection of controls that the combobox contains but it turned out to be empty. Thanks.
6
by: Sakharam Phapale | last post by:
Hi All, How to fill one ComboBox from other ComboBox control? 1) Only setting the reference does the trick but doesn't show items in control. If you see in immediate window, it shows...
3
by: _DS | last post by:
Problem with mapping a directory tree to a tree control: It takes a while to recurse subdirs and map them to nodes. This is solved in some books I've seen (MacDonald, Albahari) by reading the...
3
by: Andrea | last post by:
Hi, I'm looking for a .NET Tree Combobox, that is a combobox that opens showing a treeview instead of a simple list. Support for pictures is required. I've seem something in codeproject but they...
0
by: Cody | last post by:
I will be using a FW that contains no documentation. In order to learn the FW, I would like to have a utility record all the method calls made while I run an application that uses the FW. I would...
1
by: perspolis | last post by:
Hi all I'm looking for a Combobox that displays tree. Does anyone has a source code for that??? thanks in advance
2
by: =?Utf-8?B?SmFzb24gQmFybmV0dA==?= | last post by:
I've created a component that inherits from ComboBox. Wiithin its constructor, I've hardcoded some initial items that I'd like added. These items are of a custom class. When I add my control...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.