Connecting Tech Pros Worldwide Forums | Help | Site Map

Internet Web Controls: Treeview

Danny
Guest
 
Posts: n/a
#1: Nov 18 '05
I have installed Internet Web Controls locally in my machine, and in our
server.
I also added them into the toolbox tab in my Visual Interdev and on design
layout, I can see the treeview object appears, but not when I run the page
from Internet Explorer (means page is accessed in our server).

Any ideas how to make this treeview recognized in the server?

Thanks in advance,

- Danny



Curt_C [MVP]
Guest
 
Posts: n/a
#2: Nov 18 '05

re: Internet Web Controls: Treeview


error?

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


"Danny" <daniel_c@NoSPAMmyrealbox.com> wrote in message
news:%23wRVI$D3DHA.1752@tk2msftngp13.phx.gbl...[color=blue]
> I have installed Internet Web Controls locally in my machine, and in our
> server.
> I also added them into the toolbox tab in my Visual Interdev and on design
> layout, I can see the treeview object appears, but not when I run the page
> from Internet Explorer (means page is accessed in our server).
>
> Any ideas how to make this treeview recognized in the server?
>
> Thanks in advance,
>
> - Danny
>
>[/color]


Danny
Guest
 
Posts: n/a
#3: Nov 18 '05

re: Internet Web Controls: Treeview


There's no error message at all Curt.
It just shows the node text I put in the treeview, and the treeview its self
is not showing up.

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%23G7NPDE3DHA.2296@TK2MSFTNGP11.phx.gbl...[color=blue]
> error?
>
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> www.Darkfalz.com
>
>
> "Danny" <daniel_c@NoSPAMmyrealbox.com> wrote in message
> news:%23wRVI$D3DHA.1752@tk2msftngp13.phx.gbl...[color=green]
> > I have installed Internet Web Controls locally in my machine, and in our
> > server.
> > I also added them into the toolbox tab in my Visual Interdev and on[/color][/color]
design[color=blue][color=green]
> > layout, I can see the treeview object appears, but not when I run the[/color][/color]
page[color=blue][color=green]
> > from Internet Explorer (means page is accessed in our server).
> >
> > Any ideas how to make this treeview recognized in the server?
> >
> > Thanks in advance,
> >
> > - Danny
> >
> >[/color]
>
>[/color]


Dan
Guest
 
Posts: n/a
#4: Nov 18 '05

re: Internet Web Controls: Treeview


Ah, I think I went through this as well.

The installation instructions are a bit incomplete and it took me a while to
figure it out.

First, You need to (or at least I had to) modify the build.bat file and put
the appropriate path in front of "csc.exe", otherwise the
Microsoft.Web.UI.WebControls.dll will not be built. The path is something
like "C:\WINDOWS\Microsoft.NET\Framework\vXXXX\", depending on what version
of the framework you are using.

When you run this batch file it will create the dll and place it the build
directory.

After you run the modified batch file use this command:

xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y

You may need to change the c:\Inetpub\wwwroot if your root is somewhere
else.

This will create a webctrl_client folder in your wwwroot.

Then copy the dll that was created from the batch file to the bin directory
of whatever sites you want to have treeviews.

In the Visual Studio IDE, customize your toolbox and select the dll.

Drag and drop appropriate control onto your web form.

Hope that helps,
Dan




"Danny" <daniel_c@NoSPAMmyrealbox.com> wrote in message
news:uKPOnWE3DHA.488@TK2MSFTNGP12.phx.gbl...[color=blue]
> There's no error message at all Curt.
> It just shows the node text I put in the treeview, and the treeview its[/color]
self[color=blue]
> is not showing up.
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%23G7NPDE3DHA.2296@TK2MSFTNGP11.phx.gbl...[color=green]
> > error?
> >
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > www.Darkfalz.com
> >
> >
> > "Danny" <daniel_c@NoSPAMmyrealbox.com> wrote in message
> > news:%23wRVI$D3DHA.1752@tk2msftngp13.phx.gbl...[color=darkred]
> > > I have installed Internet Web Controls locally in my machine, and in[/color][/color][/color]
our[color=blue][color=green][color=darkred]
> > > server.
> > > I also added them into the toolbox tab in my Visual Interdev and on[/color][/color]
> design[color=green][color=darkred]
> > > layout, I can see the treeview object appears, but not when I run the[/color][/color]
> page[color=green][color=darkred]
> > > from Internet Explorer (means page is accessed in our server).
> > >
> > > Any ideas how to make this treeview recognized in the server?
> > >
> > > Thanks in advance,
> > >
> > > - Danny
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.562 / Virus Database: 354 - Release Date: 1/16/2004


Danny
Guest
 
Posts: n/a
#5: Nov 18 '05

re: Internet Web Controls: Treeview


Thanks Dan,

I did each steps you explained, but once I selected the dll in my Visual
Studio IDE, I got this error message:

Insufficient State to deserialize the object. More information is needed.

Any ideas what caused this?




"Dan" <dhartley@somewhere.com> wrote in message
news:OfWraVG3DHA.3256@tk2msftngp13.phx.gbl...[color=blue]
> Ah, I think I went through this as well.
>
> The installation instructions are a bit incomplete and it took me a while[/color]
to[color=blue]
> figure it out.
>
> First, You need to (or at least I had to) modify the build.bat file and[/color]
put[color=blue]
> the appropriate path in front of "csc.exe", otherwise the
> Microsoft.Web.UI.WebControls.dll will not be built. The path is something
> like "C:\WINDOWS\Microsoft.NET\Framework\vXXXX\", depending on what[/color]
version[color=blue]
> of the framework you are using.
>
> When you run this batch file it will create the dll and place it the build
> directory.
>
> After you run the modified batch file use this command:
>
> xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y
>
> You may need to change the c:\Inetpub\wwwroot if your root is somewhere
> else.
>
> This will create a webctrl_client folder in your wwwroot.
>
> Then copy the dll that was created from the batch file to the bin[/color]
directory[color=blue]
> of whatever sites you want to have treeviews.
>
> In the Visual Studio IDE, customize your toolbox and select the dll.
>
> Drag and drop appropriate control onto your web form.
>
> Hope that helps,
> Dan
>
>
>
>
> "Danny" <daniel_c@NoSPAMmyrealbox.com> wrote in message
> news:uKPOnWE3DHA.488@TK2MSFTNGP12.phx.gbl...[color=green]
> > There's no error message at all Curt.
> > It just shows the node text I put in the treeview, and the treeview its[/color]
> self[color=green]
> > is not showing up.
> >
> > "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> > news:%23G7NPDE3DHA.2296@TK2MSFTNGP11.phx.gbl...[color=darkred]
> > > error?
> > >
> > > --
> > > Curt Christianson
> > > Owner/Lead Developer, DF-Software
> > > www.Darkfalz.com
> > >
> > >
> > > "Danny" <daniel_c@NoSPAMmyrealbox.com> wrote in message
> > > news:%23wRVI$D3DHA.1752@tk2msftngp13.phx.gbl...
> > > > I have installed Internet Web Controls locally in my machine, and in[/color][/color]
> our[color=green][color=darkred]
> > > > server.
> > > > I also added them into the toolbox tab in my Visual Interdev and on[/color]
> > design[color=darkred]
> > > > layout, I can see the treeview object appears, but not when I run[/color][/color][/color]
the[color=blue][color=green]
> > page[color=darkred]
> > > > from Internet Explorer (means page is accessed in our server).
> > > >
> > > > Any ideas how to make this treeview recognized in the server?
> > > >
> > > > Thanks in advance,
> > > >
> > > > - Danny
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.562 / Virus Database: 354 - Release Date: 1/16/2004
>
>[/color]



Closed Thread