IE WebControls

killer01

New Member
I recently installed IE webControls, and I'm having problems getting it to work with some simple ASP.NET code. I don't have Visual Studio.Net installed but I'm using the .Net Framework. Okay, here's the code as well as the error:<BR><BR>Error:<BR>File or assembly name "Microsoft.Web.UI.WebControls", or one of its dependencies, was not found.<BR><BR>=== Pre-bind state information ===<BR>LOG: DisplayName = "Microsoft.Web.UI.WebControls"<BR> (Partial)<BR>LOG: Appbase = file://fwk3dcqqn111/Data/DKR Dump/kobby/research/web app<BR>LOG: Initial PrivatePath = bin<BR>Calling assembly : (Unknown).<BR>===<BR><BR>LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).<BR>LOG: Post-policy reference: "Microsoft.Web.UI.WebControls"<BR>LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/treeview/65542cdc/59f3e7b0/"Microsoft.Web.UI.WebControls".DLL.<BR>LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/treeview/65542cdc/59f3e7b0/"Microsoft.Web.UI.WebControls"/"Microsoft.Web.UI.WebControls".DLL.<BR>LOG: Attempting download of new URL file://fwk3dcqqn111/Data/DKR Dump/kobby/research/web app/bin/"Microsoft.Web.UI.WebControls".DLL.<BR>LOG: Attempting download of new URL file://fwk3dcqqn111/Data/DKR Dump/kobby/research/web app/bin/"Microsoft.Web.UI.WebControls"/"Microsoft.Web.UI.WebControls".DLL.<BR>LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/treeview/65542cdc/59f3e7b0/"Microsoft.Web.UI.WebControls".EXE.<BR>LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/treeview/65542cdc/59f3e7b0/"Microsoft.Web.UI.WebControls"/"Microsoft.Web.UI.WebControls".EXE.<BR>LOG: Attempting download of new URL file://fwk3dcqqn111/Data/DKR Dump/kobby/research/web app/bin/"Microsoft.Web.UI.WebControls".EXE.<BR>LOG: Attempting download of new URL file://fwk3dcqqn111/Data/DKR Dump/kobby/research/web app/bin/"Microsoft.Web.UI.WebControls"/"Microsoft.Web.UI.WebControls".EXE.<BR><BR> <BR><BR>and here's the Code I used:<BR><BR><%@ import namespace="Microsoft.Web.UI.WebControls" %><BR><%@ register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls" Assembly ="Microsoft.Web.UI.WebControls",Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral, PublicKeyToken=31bf3856ad364e35<BR>%><BR><head><BR></head><BR><body><BR><form id="myform" runat="server"><BR><mytree:treeview runat="server"><BR> <mytree:treenode Text="Michigan"><BR> <mytree:treenode Text="Detroit" /><BR> <mytree:treenode Text="Farmington" /><BR> <mytree:treenode Text="Southfield" /><BR> </mytree:treenode><BR></mytree:treeview><BR></form><BR></body>Your register looks weird. Try this one<BR><%@ Register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls"<BR>Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>thank you, that fixed it
 
Back
Top