Unknown server tag 'asp:RecordField'.

  1. #1

    Unknown server tag 'asp:RecordField'.

    I'm trying to modify the Control Panel Example to work with SQL. However I keep getting the error

    Unknown server tag 'asp:RecordField'.

    <ext:Store ID="Store1" runat="server" DataSourceID="SqlDataSource1">                      
        <Reader>
            <ext:JsonReader ReaderID="ItemID">
                <Fields>
                    <asp:RecordField Name="PropertyClassID">
                    <asp:RecordField Name="ItemName" />
                    <asp:RecordField Name="Nomenclature" />
                    <asp:RecordField Name="SerialNumber" />
                    <asp:RecordField Name="Model" />
                    <asp:RecordField Name="PartNumber" />
                    <asp:RecordField Name="StockNumber" />
                    <asp:RecordField Name="UnitofMeasure" />
                    <asp:RecordField Name="Manufacturer" />
                    <asp:RecordField Name="LocationBldg" />
                    <asp:RecordField Name="LocationRoom" />
                    <asp:RecordField Name="LocationOther" />
                    <asp:RecordField Name="Warranty" />
                    <asp:RecordField Name="StatusDescription" />
                    <asp:RecordField Name="SoftwareLicenseExpireDate" />
                    <asp:RecordField Name="PurchaseOrderNumber" />
                    <asp:RecordField Name="ItemCost" />
                    <asp:RecordField Name="PurchaseOrderDate" />
                    <asp:RecordField Name="ExpectedReceiveDate" />
                    <asp:RecordField Name="RecieveDate" />
                    <asp:RecordField Name="DisposalDate" />
                    <asp:RecordField Name="ShelfLifeCide" />
                    <asp:RecordField Name="PurchaseOrderStatusID" />
                    <asp:RecordField Name="WSS_DocumentRepository" />  
                </Fields>
            </ext:JsonReader>
    It must be something I am doing wrong. This has worked out really well. Or if anyone has an example of the form panel working with SQL that would be fantastic.

  2. #2

    RE: Unknown server tag 'asp:RecordField'.

    Hi,

    You use incorrect prefix, please use 'ext' instead 'asp'

    <ext:RecordField ...
  3. #3

    RE: Unknown server tag 'asp:RecordField'.

    Oiy!

    Thank you Vlad.

Similar Threads

  1. Gridpanel with unknown columns
    By rajputamit in forum 1.x Help
    Replies: 3
    Last Post: May 07, 2012, 11:31 AM
  2. Problem with RecordField
    By walle in forum 1.x Help
    Replies: 1
    Last Post: Feb 06, 2011, 1:38 PM
  3. Is it possible with RecordField?
    By walle in forum 1.x Help
    Replies: 0
    Last Post: Feb 02, 2011, 6:25 PM
  4. Problem with RecordField
    By walle in forum 1.x Help
    Replies: 18
    Last Post: Dec 03, 2010, 7:55 PM
  5. RecordField with spaces in name
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Jul 20, 2009, 6:53 AM

Posting Permissions