Hierarchal Tree Control in a combobox

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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.


    David W. Simmonds Guest

  2. Similar Questions and Discussions

    1. Tree control problem
      hi there, i have xml data around one thousand file in the xml when i try to binding to the tree it come up with error , flexbuidler javac...
    2. CellRenderer for a tree control
      Anyone know where I can find a good example of using a cellRenderer for a tree control?
    3. binding combobox control to datagrid
      , i am facing problem with attaching combobox to a cell of a datagrid. namely to the cell 3rd row 4 column.. then the combobox should display...
    4. Tree View Control and User Control
      I created a web form, created a treeview, its parent and child nodes and it works fine. I re-created the treeview as a user control, dumped the...
    5. ComboBox Control
      hi, i am trying to implement, the combo control which is available online at http://www.codeproject.com/useritems/ComboBox.asp but i seem to...
  3. #2

    Default Re: Hierarchal Tree Control in a combobox

    Would an <IFrame> containing the tree control do the job


    "David W. Simmonds" <david@simmonds.ca> wrote in message
    news:%DTUa.537714$3C2.13879484@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.
    >
    >

    Ron Vecchi Guest

  4. #3

    Default Re: Hierarchal Tree Control in a combobox

    What is an IFrame? Is it represented in a small space and expands when
    needed like a combobox?

    "Ron Vecchi" <vencenzo@comcast.net> wrote in message
    news:OElJcIGVDHA.3376@tk2msftngp13.phx.gbl...
    > Would an <IFrame> containing the tree control do the job
    >
    >
    > "David W. Simmonds" <david@simmonds.ca> wrote in message
    > news:%DTUa.537714$3C2.13879484@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.
    > >
    > >
    >
    >

    David W. Simmonds Guest

  5. #4

    Default Re: Hierarchal Tree Control in a combobox

    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" <vencenzo@comcast.net> wrote in message
    news:ewUweqHVDHA.2340@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" <david@simmonds.ca> wrote in message
    > news:7eUUa.539920$ro6.12314886@news2.calgary.shaw. ca...
    > > What is an IFrame? Is it represented in a small space and expands when
    > > needed like a combobox?
    > >
    > > "Ron Vecchi" <vencenzo@comcast.net> wrote in message
    > > news:OElJcIGVDHA.3376@tk2msftngp13.phx.gbl...
    > > > Would an <IFrame> containing the tree control do the job
    > > >
    > > >
    > > > "David W. Simmonds" <david@simmonds.ca> wrote in message
    > > > news:%DTUa.537714$3C2.13879484@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.
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    David W. Simmonds Guest

  6. #5

    Default RE: Hierarchal Tree Control in a combobox

    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: [url]http://www.codeproject.com/aspnet/treeweb.asp[/url]
    Combobox server control: [url]http://www.coreyhulen.com/[/url]

    Hope it helps.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - [url]www.microsoft.com/security[/url]
    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" <david@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: <%DTUa.537714$3C2.13879484@news3.calgary.shaw.ca >
    !Date: Sun, 27 Jul 2003 17:06:03 GMT
    !NNTP-Posting-Host: 24.71.223.147
    !X-Complaints-To: [email]abuse@shaw.ca[/email]
    !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.
    !
    !
    !


    Yan-Hong Huang[MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139