Professional Web Applications Themes

ASP.NET Treeview example anyone ? - ASP.NET General

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

  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. #2

    Default Re: ASP.NET Treeview example anyone ?

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

    --
    Stephajn Craig
    "Jurjen de Groot" <infogits-online.nl> wrote in message
    news:eg3QNzLRDHA.3768tk2msftngp13.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

  3. #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

  4. #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" <infogits-online.nl> wrote in message
    news:O8lkfDMRDHA.2344TK2MSFTNGP12.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

  5. #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.craigNOSPAMfunsunvacations.com> wrote in message
    news:eav6MqMRDHA.1724TK2MSFTNGP10.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" <infogits-online.nl> wrote in message
    > news:O8lkfDMRDHA.2344TK2MSFTNGP12.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

  6. #6

    Default Re: ASP.NET Treeview example anyone ?

    Ok thanks, I'll try that.

    Jurjen.

    "Stephajn Craig" <s.craigNOSPAMfunsunvacations.com> wrote in message
    news:%23lM52GWRDHA.2188TK2MSFTNGP10.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" <infogits-online.nl> wrote in message
    > news:e3MCSyRRDHA.3236TK2MSFTNGP10.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.craigNOSPAMfunsunvacations.com> wrote in message
    > > news:eav6MqMRDHA.1724TK2MSFTNGP10.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" <infogits-online.nl> wrote in message
    > > > news:O8lkfDMRDHA.2344TK2MSFTNGP12.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. #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" <infogits-online.nl>
    !References: <#ksSl3LRDHA.1552TK2MSFTNGP10.phx.gbl>
    <O8lkfDMRDHA.2344TK2MSFTNGP12.phx.gbl>
    <eav6MqMRDHA.1724TK2MSFTNGP10.phx.gbl>
    <e3MCSyRRDHA.3236TK2MSFTNGP10.phx.gbl>
    <#lM52GWRDHA.2188TK2MSFTNGP10.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.2144TK2MSFTNGP11.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.craigNOSPAMfunsunvacations.com> wrote in message
    !news:%23lM52GWRDHA.2188TK2MSFTNGP10.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" <infogits-online.nl> wrote in message
    !> news:e3MCSyRRDHA.3236TK2MSFTNGP10.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.craigNOSPAMfunsunvacations.com> wrote in message
    !> > news:eav6MqMRDHA.1724TK2MSFTNGP10.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" <infogits-online.nl> wrote in message
    !> > > news:O8lkfDMRDHA.2344TK2MSFTNGP12.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

Similar Threads

  1. Treeview and rendercontrol
    By David Wiart in forum ASP.NET Building Controls
    Replies: 1
    Last Post: September 24th, 06:03 AM
  2. treeview
    By Daniele in forum ASP.NET Building Controls
    Replies: 5
    Last Post: January 16th, 05:20 AM
  3. TreeView in ASP
    By Olga in forum ASP
    Replies: 9
    Last Post: October 22nd, 09:03 AM
  4. Once again about treeview in ASP
    By Olga in forum ASP
    Replies: 0
    Last Post: September 27th, 11:14 PM
  5. About Treeview
    By Rainman in forum ASP.NET General
    Replies: 1
    Last Post: July 28th, 12:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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