View Full Version : Internet Explorer Web Controls (treeview)
Swood
05-12-2004, 04:24 AM
Can some kind soul tell me how to get this control to work? It does not show up in my Visual Studio Toolbox (why?)
bruce
05-12-2004, 04:46 AM
This is not a standard asp.net framework control and i don't believe there's a vs.net plug in for it.
You'll have to install it on your local computer before you can use it.
[b]quote:Originally posted by Swood
Can some kind soul tell me how to get this control to work? It does not show up in my Visual Studio Toolbox (why?)
</blockquote id="quote"></font id="quote">
Swood
05-12-2004, 04:53 AM
I added this line
<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
and got this message
Parser Error Message: File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.
do I need a DLL in my BIN? today one of your staff added a directory to my root named webctrl_client. However I am unsure of how this works.
Swood
05-12-2004, 05:17 AM
do I need Microsoft.Web.UI.WebControls.dll? . . it did not come with the download from microsoft.
bruce
05-13-2004, 02:06 AM
No. You do not need to upload the dll to the bin because it's already installed in the GAC
See this code
<%@ import namespace="Microsoft.Web.UI.WebControls" %>
<%@ Register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
[b]
<FORM runat="server">
<mytree:treeview runat="server">
<mytree:treenode text="My first Tree Node">
<mytree:treenode text="My second Tree Node">
</mytree:treenode>
</mytree:treenode>
</mytree:treeview>
</FORM>
</BODY>
[b]quote:Originally posted by Swood
do I need Microsoft.Web.UI.WebControls.dll? . . it did not come with the download from microsoft.
</blockquote id="quote"></font id="quote">
Swood
05-14-2004, 12:06 PM
Thanks Bruce !!
Swood
05-14-2004, 12:38 PM
still having a problem . . Is it a PATH problem?
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: File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm5.aspx.vb" Inherits="OurFamily.WebForm5"%>
Line 2: <%@ Register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls"
Line 3: Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral,
Line 4: PublicKeyToken=31bf3856ad364e35" %>
Source File: E:\web\woodsoftne2\htdocs\ourfamily\webform5.aspx Line: 2
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.UI.WebControls' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral
(Partial)
LOG: Appbase = file:///E:/web/woodsoftne2/htdocs/OurFamily
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
bruce
05-16-2004, 12:27 PM
try make line 2,3,4 into a single line
[b]quote:Originally posted by Swood
still having a problem . . Is it a PATH problem?
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: File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm5.aspx.vb" Inherits="OurFamily.WebForm5"%>
Line 2: <%@ Register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls"
Line 3: Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral,
Line 4: PublicKeyToken=31bf3856ad364e35" %>
Source File: E:\web\woodsoftne2\htdocs\ourfamily\webform5.aspx Line: 2
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.UI.WebControls' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral
(Partial)
LOG: Appbase = file:///E:/web/woodsoftne2/htdocs/OurFamily
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ourfamily/b8606a8b/4e19aa6a/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL file:///E:/web/woodsoftne2/htdocs/OurFamily/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
</blockquote id="quote"></font id="quote">
Swood
05-22-2004, 08:20 AM
Thanks
vBulletin® ©Jelsoft Enterprises Ltd.