Ooops sorry, that was the second error I had, the code worked for me
after I made sure that your "Line2" was all on one line which is the way
you have it.
Looks like your tree code is ok though, I got a clean blank page before
adding the html and body tags. Don't know why you're not finding the IE
controls.
If you've gone through the read me for the IE controls and verified
everything is where it should be, I'm at a loss.
Bill Ryan
wryan@u...
> -----Original Message-----
> From: Kieran Dundon [mailto:kierandundon@e...]
> Sent: Wednesday, March 27, 2002 3:27 PM
> To: ASPX_Professional
> Subject: [aspx_professional] Re: Microsoft.Web.UI.WebControls
>
>
> I have done the install a number of times both manually and
> automatically.
>
> I used your suggested tag with the following result......
>
>
> Server Error in '/Parthus' Application.
> --------------------------------------------------------------
> -------------
> -----
>
> Parser Error
> Description: An error occurred during the parsing of a
> resource required
> to service this request. Please review the following specific
> parse error
> details and modify your source file appropriately.
>
> Parser Error Message: Could not load type
> Microsoft.Web.UI.WebControls.BasePostBackControl from assembly
> Microsoft.Web.UI.WebControls, Version=3D1.0.2.116, Culture=3Dneutral,
> PublicKeyToken=3D31bf3856ad364e35.
>
> Source Error:
>
>
> Line 1: <%@ import namespace=3D"Microsoft.Web.UI.WebControls"
> %> Line 2: <%@ Register TagPrefix=3D"mytree"
> Namespace=3D"Microsoft.Web.UI.WebControls"
> Assembly=3D"Microsoft.Web.UI.WebControls,
> Version=3D1.0.2.116,Culture=3Dneutral,
> PublicKeyToken=3D31bf3856ad364e35" %>
> Line 3: <mytree:treeview runat=3D"server" ID=3D"Treeview1">
> Line 4: <mytree:treenode text=3D"My first Tree Node">
> Line 5: <mytree:treenode text=3D"My second Tree Node">
>
>
> Source File: c:\inetpub\wwwroot\parthus\treeview.aspx Line: 3
>
>
> --------------------------------------------------------------
> -------------
> -----
> Version Information: Runtime Build:1.0.2914.16; ASP.NET
> Build:1.0.2914.16
>
>
> This is the entire page I am using
>
> <%@ import namespace=3D"Microsoft.Web.UI.WebControls" %>
> <%@ Register TagPrefix=3D"mytree"
> Namespace=3D"Microsoft.Web.UI.WebControls"
> Assembly=3D"Microsoft.Web.UI.WebControls,
> Version=3D1.0.2.116,Culture=3Dneutral,
> PublicKeyToken=3D31bf3856ad364e35" %>
> <mytree:treeview runat=3D"server" ID=3D"Treeview1">
> <mytree:treenode text=3D"My first Tree Node">
> <mytree:treenode text=3D"My second Tree Node">
> </mytree:treenode>
> </mytree:treenode>
> </mytree:treeview>
>
>
>
> Thanks for your help
>
> Rgds
>
> Kieran
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> > Have you checked that the install actually worked? I used the
> > automatic
> install first and found that I had to manually install the IE
> controls. The readme file tells you what to look for.
>
> Here's the tag I use BTW, I found that I had to change it
> from the Beta2 tag I was able to use, similar to yours below.
> I'm not exactly sure why... But I found the below on the
> microsoft site after version 1.0 was released.
>
> <%@ Register TagPrefix=3D3D"IE"
> Namespace=3D3D"Microsoft.Web.UI.WebControls"
> Assembly=3D3D"Microsoft.Web.UI.WebControls,
> Version=3D3D1.0.2.116, Culture=3D3Dneutral,
> PublicKeyToken=3D3D31bf3856ad364e35" %>
>
> Good Luck,
> Bill Ryan
>
> > -----Original Message-----
> > From: Kieran Dundon [mailto:kierandundon@e...]=3D20
> > Sent: Tuesday, March 26, 2002 1:53 PM
> > To: ASPX_Professional
> > Subject: [aspx_professional] Re: Microsoft.Web.UI.WebControls =3D20
> >=3D20
> > Thanks for the reply but these controls are an additional set=3D20
> > of controls=3D20
> > supplied by Microsoft, they are treeview, tab etc and they=3D20
> > are referred to=3D20
> > using the Microsoft.web.ui..... syntax.
> >=3D20
> > Kieran
> >=3D20
> >=3D20
> > > I'm only just starting ASP.NET myself but...
> > don't you mean "System.Web.UI.WebControls" (not=3D20
> "Microsoft.....")?
> >I would think that the compiler would be=3D20 unable to find the
> >namespace as=3D20 you
> > have it.
> >=3D20
> > Peter Lawrence
> >=3D20
> > ----- Original Message -----
> > From: "Kieran Dundon" <kierandundon@e...>
> > To: "ASPX_Professional" <aspx_professional@p...>
> > Sent: Monday, March 25, 2002 11:03 PM
> > Subject: [aspx_professional] Microsoft.Web.UI.WebControls
> >=3D20
> >=3D20
> > > I have installed the web controls as specified by the=3D20
> > instructions but=3D20
> > > no matter what I do I cannot get them to work,
> > >
> > > I got as far as the controls being recognized by the page but now
> > > I=3D20 get this error
> > >
> > > Anybody got any ideas ????
> > >
> > > Parser Error
> > > Description: An error occurred during the parsing of a
> resource=3D20
> > > required
> > to
> > > service this request. Please review the following specific=3D20
> > parse error=3D20
> > > details and modify your source file appropriately.
> > >
> > > Parser Error Message: Could not load type=3D20
> > > Microsoft.Web.UI.WebControls.BasePostBackControl from
assembly=3D20
> > > Microsoft.Web.UI.WebControls, Version=3D3D1.0.2.116, =3D
> Culture=3D3Dneutral,=3D20
> > > PublicKeyToken=3D3D31bf3856ad364e35.
> > >
> > > Source Error:
> > >
> > > Line 1: <%@ import=3D20
> > namespace=3D3D"Microsoft.Web.UI.WebControls" %> Line=3D20
> > > 2: <%@ register TagPrefix=3D3D"mytree"=3D20
> > > Namespace=3D3D"Microsoft.Web.UI.WebControls" Assembly=3D20
> > > =3D3D"Microsoft.Web.UI.WebControls"%> Line 3:
<mytree:treeview=3D20
> > > runat=3D3D"server" ID=3D3D"Treeview1"> Line 4: <mytree:treenode
=3D
> text=3D3D"My=3D20
> > > first Tree Node"> Line 5: <mytree:treenode text=3D3D"My second
> > > Tree=3D20 Node">
> > >
> > >
> > > Source File: c:\inetpub\wwwroot\Parthus\Treeview.aspx Line: 3
> > >
> > >
> > >=3D20
> >
> ----------------------------------------------------------------------
> > > ---
> > -
> > -
> > > -
> > > ----
> > > Version Information: Runtime Build:1.0.2914.16; ASP.NET=3D20
> > > Build:1.0.2914.16
> > >
> http://p2p.wrox.com/manager.asp or to=3D20
> > > unsubscribe
> send a blank email to
> > >
> >=3D20
> > ---
> > Change your mail options at http://p2p.wrox.com/manager.asp
> or=3D20 to
> >unsubscribe send a blank email to=3D20
> >=3D20
>