Internet Explorer Web Controls (treeview)

Discussion in 'ASP.NET / ASP.NET Core' started by Swood, May 12, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Can some kind soul tell me how to get this control to work? It does not show up in my Visual Studio Toolbox (why?)
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    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.


    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">
     
  3. 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.
     
  4. do I need Microsoft.Web.UI.WebControls.dll? . . it did not come with the download from microsoft.
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    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" %>

    <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>

    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">
     
  6. Thanks Bruce !!
     
  7. 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.
     
  8. Bruce

    Bruce DiscountASP.NET Staff

    try make line 2,3,4 into a single line

    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">
     
  9. Thanks
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page