Forums
Forums are Read-Only. Use the new Support Center. To start a general discussion, use the General category when submitting your question.

Element 'ASPxGridView' is not a known element

Last post 2/3/2009 10:05 AM by Anthony Thompson. 7 replies.
Sort Posts: Previous Next
  • Andrew Tregonning

    Element 'ASPxGridView' is not a known element

    7/2/2008 1:17 AM
    • Not Ranked
    • Joined on 7/2/2008
    • Posts 3

    Hi

    I have installed v.8.1.5 of DXperience today, and am having problems with it.

    I initially tried adding a ASPxGridView component to an existing site, and after running into problems decided to try a fresh website, but have run into the same problem. I'm running Visual Studio 2008, and have created a .NET Framework 3.5 site.

    I have the following assemblies in my web.config: 

    <assemblies>
    <
    add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <
    add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <
    add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <
    add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <
    add assembly="DevExpress.Web.ASPxGridView.v8.1, Version=8.1.5.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"/>
    <
    add assembly="DevExpress.Web.v8.1, Version=8.1.5.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"/>
    <
    add assembly="DevExpress.Data.v8.1, Version=8.1.5.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"/>
    <
    add assembly="DevExpress.Web.ASPxEditors.v8.1, Version=8.1.5.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"/>
    </
    assemblies>

      And my aspx file specifies:  

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
    <%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.1" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
    <%
    @ Register Assembly="DevExpress.Web.ASPxEditors.v8.1" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe"%>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml">
    <
    head runat="server">
    <title>Untitled Page</title>
    </
    head>

    <body>
    <form id="form1" runat="server">
    <div>
    <dxwgv:ASPxGridView ID="grdTestingErrors" runat="server" EnableCallBacks="False">
    <columns>
    <dxwgv:GridViewDataColumn FieldName="ID" VisibleIndex="0" />
    <dxwgv:GridViewDataColumn FieldName="TestingArea" Caption="Area" VisibleIndex="1" />
    <dxwgv:GridViewDataColumn FieldName="Name" Caption="Description" VisibleIndex="2" />
    <dxwgv:GridViewDataColumn FieldName="PersonRaisedBy.Name" Caption="Raised By" VisibleIndex="3" />
    <dxwgv:GridViewDataColumn FieldName="RaisedDate" Caption="Raised Date" VisibleIndex="4" />
    <dxwgv:GridViewDataColumn FieldName="PersonResponsible.Name" Caption="Responsible" VisibleIndex="5" />
    <dxwgv:GridViewDataColumn FieldName="Priority" Caption="Priority" VisibleIndex="6" />
    </columns>
    <settings showheaderfilterbutton="true" />
    </dxwgv:ASPxGridView>
    </div>

    </form>
    </
    body>
    </
    html>

    My IDE genenates the warnings: "Warning 1 Element 'ASPxGridView' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. c:\Test\test\Default.aspx 15 16 c:\Test\test\" and Intellisense doesn't work.

    What am I missing here?

    Cheers,
    Andrew

     

    Filed under:
  • Andrew Tregonning

    Re: Element 'ASPxGridView' is not a known element

    7/2/2008 6:09 PM
    • Not Ranked
    • Joined on 7/2/2008
    • Posts 3

    I should also add that I've confirmed that DevExpress.Web.ASPxGridView.v8.1, DevExpress.Web.v8.1, DevExpress.Data.v8.1 and DevExpress.Web.ASPxEditors.v8.1 are all in my GAC.

    Cheers,
    Andrew

  • Mike Venhola

    Re: Element 'ASPxGridView' is not a known element

    9/10/2008 3:50 PM
    • Not Ranked
    • Joined on 9/10/2008
    • Posts 1

     Did you ever figure this out?

  • Andres Sorvin

    Re: Element 'ASPxGridView' is not a known element

    9/18/2008 2:50 PM
    • Not Ranked
    • Joined on 9/11/2008
    • Posts 14

    I am having this same issue with DevExpress 8.2.4.  I originally thought that it was that the demo version was not configuring something, but we have since registered it and the problem still appears.  As a side effect I don't get any intellisense related to the grid elements, nor do their properties show up on the property editor.

    Update: I should add that things build and run as expected, I just get no help at all from the IDE because of the unrecognized element (not even collapsing the tag).

  • Andres Sorvin

    Re: Element 'ASPxGridView' is not a known element

    9/25/2008 12:26 PM
    • Not Ranked
    • Joined on 9/11/2008
    • Posts 14

    Any pointers on this issue?  I'd like to have VS recognize it.

  • Andres Sorvin

    Re: Element 'ASPxGridView' is not a known element

    9/25/2008 5:02 PM
    • Not Ranked
    • Joined on 9/11/2008
    • Posts 14

    Found this issue for future reference: http://www.devexpress.com/Support/Center/p/Q184447.aspx?searchtext=not+a+known+element&tid=4b2d6f97-c4ae-48fc-87f6-8c5da6541e40&pid=22713479-a995-45d4-9ed4-72ffa096d83d

  • Andrew Tregonning

    Re: Element 'ASPxGridView' is not a known element

    9/29/2008 3:39 PM
    • Not Ranked
    • Joined on 7/2/2008
    • Posts 3

    I ended up copying the assemblies to my Bin directory instead of the GAC, and they worked fine there.

    Cheers,
    Andrew

  • Anthony Thompson

    Re: Element 'ASPxGridView' is not a known element

    2/3/2009 10:05 AM
    • Not Ranked
    • Joined on 8/22/2007
    • Posts 3

    I got exactly the same thing with DXperience 8.3.4. I tried everything mentioned here with no result, then just as I was about to uninstall 8.3.4 I repaired the installation instead just to cover all the bases. This solved the problem for me!

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.