Hi.
When trying to use the tree view web control using the following code:
<%@ Control Language="c#" Codebehind="SiteDirectory.ascx.cs"%>
<%@ Import Namespace="Microsoft.Web.UI.WebControls"%>
<%@ Register TagPrefix="mytree"
Namespace="Microsoft.Web.UI.WebControls"
Assembly ="Microsoft.Web.UI.WebControls"%>
<form runat="server">
<mytree:treeview runat="server">
<mytree:treenode text="Node number 1" />
<mytree:treenode text="Node number 2" />
</mytree:treeview>
</form>
It throws the following error:
Could not load type Microsoft.Web.UI.WebControls.BasePostBackControl from
assembly Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral,
PublicKeyToken=31bf3856ad364e35.
I've verified that I have the Microsoft.Web.UI.WebControls.dll installed in
the right place(\Program Files\Microsoft Internet Explorer WebControls),
using the gacutil -i Microsoft.Web.UI.WebControls.dll command, created the
directories in the root web:
webctrl_client\1_0\
webctrl_client\1_0\images
webctrl_client\1_0\treeimages
webctrl_client\1_0\treeimages\rtl
and made the registry settings for it just in case.
Has any one had simmilar problems? I'm currently using beta 2 on a win 2k
server.
If anybody could help, I would be very grateful.
Thank you.
Carlos P.