boxingtalk
New Member
hie friends<BR>i am using Tree control and properly coded the example thats too copied frm UNLEASHED<BR><BR>registered Tree Control everything Properly n got the error<BR><BR>File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found<BR><BR><BR>Wht is the meaning of this error?<BR>do i have to amke any modifications in .NET configuration after i install IEWEBCONTROLS?<BR><BR>DhirajYou probably have the wrong register. 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" %>Hi james<BR>Still same error.....<BR>wht is version here?<BR>DhirajYou should have V1 framework and web controls installed. You might want to reinstall the web controls.Hi <BR>I have <BR>Windows 2000 professional with IE 6<BR>Microsoft .NET Framework Final Version Upgraded with Service Pack 1<BR>Data Access Com 2.7<BR><BR>and IEWEBCONTROLS.msi downloaded frm MSDN<BR><BR>Wht esle do i need <BR>DhirajHi <BR>I have <BR>Windows 2000 professional with IE 6<BR>Microsoft .NET Framework Final Version Upgraded with Service Pack 1<BR>Data Access Com 2.7<BR><BR>and IEWEBCONTROLS.msi downloaded frm MSDN<BR><BR>Wht esle do i need <BR>Dhiraj<BR>PS
o u mean I shuld ve VISUAL STUDIO 7 ... if tht seems meaningless........ wht if person doesnt have VS7 .. n simple Notepad .I have used the webcontrols with a text editor. They worked great for me, so it has nothing to do with visual studio. Try reinstalling the webcontrols.hi <BR>well i uninstalled it reinstalled rebooted machine<BR>still failure<BR>Dhirajthere is one error publisher policy file not found?<BR>Whats the meaning<BR>dhirajWhere do you get this error? Have you tried running the file in the wwwroot and see if it works?everything is happenin under IIS wwwroot<BR>DhirajHave you tried using a stripped down file? Can you post your code?hi James<BR>Wht do u mean by Stripp down><BR><BR>here is the code ,very simple one<BR>-------------------------------------------------------------<BR><BR><%@ Import Namespace="Microsoft.Web.UI.WebControls" %><BR><%@ Register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls" <BR>Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %> <BR><BR><HTML><BR><HEAD><BR><TITLE> New Document </TITLE><BR><META NAME="Generator" CONTENT="EditPlus"><BR><META NAME="Author" CONTENT=""><BR><META NAME="Keywords" CONTENT=""><BR><META NAME="Description" CONTENT=""><BR></HEAD><BR><BR><BODY><BR><FORM ><BR><IE:Treeview Runat=server><BR><TreeNode Text="Asp.Net Books" /><BR><TreeNode Text="Asp.net Unleashed" /><BR></TreeNode><BR></IE:TreeView><BR><BR></FORM><BR></BODY><BR></HTML><BR><BR><BR>did u find any pro<BR>DhirajYup. First thing is that it must run in a server-side form. The second thing is that the tag is wrong, should be this:<BR><BR><mytree:Treeview Runat=server><BR><TreeNode Text="Asp.Net Books" /><BR><TreeNode Text="Asp.net Unleashed" /><BR></TreeNode><BR></mytree:TreeView><BR><BR>You are using the tag you register at the top. This should fix it.
