ASP.NET Treeview example anyone ?

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

  1. #1

    Default ASP.NET Treeview example anyone ?

    I'm trying to get the TreeView control from the Microsoft.Web.UI.WebControls
    namespace to work but for some reason it won't render correctly. I've found
    some webpages on the MSDN site about this control, where they create sample
    code for it but it doesn't seem to work. All node-text is concatenated and
    shown as a long string. In design mode you can also add nodes but they all
    appear with a picturebox in front of the text, in the picture box is a
    little red cross, it think that it can't seem to find its graphics.

    Can someone help me get a working example ?


    TIA,


    Jurjen de Groot
    G.I.T.S. Netherlands


    Jurjen de Groot Guest

  2. Similar Questions and Discussions

    1. Treeview and rendercontrol
      Hi, I try to get the html code of the treeview by doing this : TreeView Tview = new TreeView(); TreeNode tnode = new TreeNode("Node1", "1");...
    2. treeview
      I use a form with a control treeview ( MS 5.02 ) to open and select specific records in various form. in case of the data update, cancellation,...
    3. TreeView in ASP
      How to fill treeview in ASP? Thanks
    4. Once again about treeview in ASP
      Hi guys, I want to use Microsoft treeview control (no other) in my asp page and fill it with parent-child information from datatable. I draged and...
    5. About Treeview
      Dotnet Framework 1.1 does not support IE web controls,so what's the better treeview solution now?
  3. #2

    Default Re: ASP.NET Treeview example anyone ?

    Is the machine you are developing with also your web server?

    --
    Stephajn Craig
    "Jurjen de Groot" <info@gits-online.nl> wrote in message
    news:eg3QNzLRDHA.3768@tk2msftngp13.phx.gbl...
    > I'm trying to get the TreeView control from the
    Microsoft.Web.UI.WebControls
    > namespace to work but for some reason it won't render correctly. I've
    found
    > some webpages on the MSDN site about this control, where they create
    sample
    > code for it but it doesn't seem to work. All node-text is concatenated and
    > shown as a long string. In design mode you can also add nodes but they all
    > appear with a picturebox in front of the text, in the picture box is a
    > little red cross, it think that it can't seem to find its graphics.
    >
    > Can someone help me get a working example ?
    >
    >
    > TIA,
    >
    >
    > Jurjen de Groot
    > G.I.T.S. Netherlands
    >
    >

    Stephajn Craig Guest

  4. #3

    Default Re: ASP.NET Treeview example anyone ?

    Yes, I also run IIS on my development machine (p4 1.7G, 512mb, Window
    2000 Professional)






    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Jurjen de Groot Guest

  5. #4

    Default Re: ASP.NET Treeview example anyone ?

    Make sure that you have the Web Controls installed on both machines. There
    is a folder called Webctrl_client used by the Web Controls which must be in
    the root of your website in order for this to work.

    --
    Stephajn Craig
    "Jurjen de Groot" <info@gits-online.nl> wrote in message
    news:O8lkfDMRDHA.2344@TK2MSFTNGP12.phx.gbl...
    > Yes, I also run IIS on my development machine (p4 1.7G, 512mb, Window
    > 2000 Professional)
    >
    >
    >
    >
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Stephajn Craig Guest

  6. #5

    Default Re: ASP.NET Treeview example anyone ?

    Stephajn,

    As I understand it the webctrl_client folder has to be located in the
    wwwroot, that works! Moving it within the project folder
    ...\wwwroot\test_treeview does seem to do the trick in the designer but when
    running the web-app it doesn't work.

    If it HAS to be located in the ...\wwwroot there would probably be a problem
    deploying the application to .NET hosting firms I would imagine.

    Did you get it to work locating the webctrl_Client within your project
    directory ?


    Jurjen.



    "Stephajn Craig" <s.craig@NOSPAMfunsunvacations.com> wrote in message
    news:eav6MqMRDHA.1724@TK2MSFTNGP10.phx.gbl...
    > Make sure that you have the Web Controls installed on both machines.
    There
    > is a folder called Webctrl_client used by the Web Controls which must be
    in
    > the root of your website in order for this to work.
    >
    > --
    > Stephajn Craig
    > "Jurjen de Groot" <info@gits-online.nl> wrote in message
    > news:O8lkfDMRDHA.2344@TK2MSFTNGP12.phx.gbl...
    > > Yes, I also run IIS on my development machine (p4 1.7G, 512mb, Window
    > > 2000 Professional)
    > >
    > >
    > >
    > >
    > >
    > >
    > > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > > Don't just participate in USENET...get rewarded for it!
    >
    >

    Jurjen de Groot Guest

  7. #6

    Default Re: ASP.NET Treeview example anyone ?

    Ok thanks, I'll try that.

    Jurjen.

    "Stephajn Craig" <s.craig@NOSPAMfunsunvacations.com> wrote in message
    news:%23lM52GWRDHA.2188@TK2MSFTNGP10.phx.gbl...
    > You only need one copy of that folder in the root folder of your website.
    > So if your hosting company has created a virtual site for you, you won't
    > need to have the webctrl_client folder in their wwwroot folder, only at
    the
    > root of *your* site and that's it.
    >
    > HTH
    >
    > --
    > Stephajn Craig
    > "Jurjen de Groot" <info@gits-online.nl> wrote in message
    > news:e3MCSyRRDHA.3236@TK2MSFTNGP10.phx.gbl...
    > > Stephajn,
    > >
    > > As I understand it the webctrl_client folder has to be located in the
    > > wwwroot, that works! Moving it within the project folder
    > > ..\wwwroot\test_treeview does seem to do the trick in the designer but
    > when
    > > running the web-app it doesn't work.
    > >
    > > If it HAS to be located in the ...\wwwroot there would probably be a
    > problem
    > > deploying the application to .NET hosting firms I would imagine.
    > >
    > > Did you get it to work locating the webctrl_Client within your project
    > > directory ?
    > >
    > >
    > > Jurjen.
    > >
    > >
    > >
    > > "Stephajn Craig" <s.craig@NOSPAMfunsunvacations.com> wrote in message
    > > news:eav6MqMRDHA.1724@TK2MSFTNGP10.phx.gbl...
    > > > Make sure that you have the Web Controls installed on both machines.
    > > There
    > > > is a folder called Webctrl_client used by the Web Controls which must
    be
    > > in
    > > > the root of your website in order for this to work.
    > > >
    > > > --
    > > > Stephajn Craig
    > > > "Jurjen de Groot" <info@gits-online.nl> wrote in message
    > > > news:O8lkfDMRDHA.2344@TK2MSFTNGP12.phx.gbl...
    > > > > Yes, I also run IIS on my development machine (p4 1.7G, 512mb,
    Window
    > > > > 2000 Professional)
    > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > > > > Don't just participate in USENET...get rewarded for it!
    > > >
    > > >
    > >
    > >
    > >
    >
    >

    Jurjen de Groot Guest

  8. #7

    Default Re: ASP.NET Treeview example anyone ?

    Hello Jurjen,

    If you have follow up questions or the problem is still there, please post
    here. Thanks very much.

    Best regards,
    yhhuang
    VS.NET, Visual C++
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Got .Net? [url]http://www.gotdotnet.com[/url]
    --------------------
    !From: "Jurjen de Groot" <info@gits-online.nl>
    !References: <#ksSl3LRDHA.1552@TK2MSFTNGP10.phx.gbl>
    <O8lkfDMRDHA.2344@TK2MSFTNGP12.phx.gbl>
    <eav6MqMRDHA.1724@TK2MSFTNGP10.phx.gbl>
    <e3MCSyRRDHA.3236@TK2MSFTNGP10.phx.gbl>
    <#lM52GWRDHA.2188@TK2MSFTNGP10.phx.gbl>
    !Subject: Re: ASP.NET Treeview example anyone ?
    !Date: Tue, 8 Jul 2003 17:16:54 +0200
    !Lines: 71
    !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: <#VUrlMWRDHA.2144@TK2MSFTNGP11.phx.gbl>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: qn-213-73-175-236.quicknet.nl 213.73.175.236
    !Path: cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
    !Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:33027
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !Ok thanks, I'll try that.
    !
    !Jurjen.
    !
    !"Stephajn Craig" <s.craig@NOSPAMfunsunvacations.com> wrote in message
    !news:%23lM52GWRDHA.2188@TK2MSFTNGP10.phx.gbl...
    !> You only need one copy of that folder in the root folder of your website.
    !> So if your hosting company has created a virtual site for you, you won't
    !> need to have the webctrl_client folder in their wwwroot folder, only at
    !the
    !> root of *your* site and that's it.
    !>
    !> HTH
    !>
    !> --
    !> Stephajn Craig
    !> "Jurjen de Groot" <info@gits-online.nl> wrote in message
    !> news:e3MCSyRRDHA.3236@TK2MSFTNGP10.phx.gbl...
    !> > Stephajn,
    !> >
    !> > As I understand it the webctrl_client folder has to be located in the
    !> > wwwroot, that works! Moving it within the project folder
    !> > ..\wwwroot\test_treeview does seem to do the trick in the designer but
    !> when
    !> > running the web-app it doesn't work.
    !> >
    !> > If it HAS to be located in the ...\wwwroot there would probably be a
    !> problem
    !> > deploying the application to .NET hosting firms I would imagine.
    !> >
    !> > Did you get it to work locating the webctrl_Client within your project
    !> > directory ?
    !> >
    !> >
    !> > Jurjen.
    !> >
    !> >
    !> >
    !> > "Stephajn Craig" <s.craig@NOSPAMfunsunvacations.com> wrote in message
    !> > news:eav6MqMRDHA.1724@TK2MSFTNGP10.phx.gbl...
    !> > > Make sure that you have the Web Controls installed on both machines.
    !> > There
    !> > > is a folder called Webctrl_client used by the Web Controls which must
    !be
    !> > in
    !> > > the root of your website in order for this to work.
    !> > >
    !> > > --
    !> > > Stephajn Craig
    !> > > "Jurjen de Groot" <info@gits-online.nl> wrote in message
    !> > > news:O8lkfDMRDHA.2344@TK2MSFTNGP12.phx.gbl...
    !> > > > Yes, I also run IIS on my development machine (p4 1.7G, 512mb,
    !Window
    !> > > > 2000 Professional)
    !> > > >
    !> > > >
    !> > > >
    !> > > >
    !> > > >
    !> > > >
    !> > > > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    !> > > > Don't just participate in USENET...get rewarded for it!
    !> > >
    !> > >
    !> >
    !> >
    !> >
    !>
    !>
    !
    !
    !

    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