0

Server Error in '/elogs' Application.

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: Unknown server tag 'IND:InderGrid'.

Source Error:

Line 1:  <%@ Page Language="C#" MasterPageFile="~/eLogS_Sea/New_MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="eLogS_Sea_Default2" Title="Untitled Page" %>
Line 2:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Line 3:      <IND:InderGrid ID="inderGrid" runat="server" AllowPaging="true" CellPadding="4" CheckBoxColumn="true"      
Line 4:          CustomPageing="true" Font-Names="Tahoma" ForeColor="#333333" GridLines="None"
Line 5:          OnPageIndexChanging="inderGrid_PageIndexChanging" OnRowCreated="inderGrid_RowCreated"


Source File: /elogs/eLogS_Sea/Default2.aspx    Line: 3 

Any one please Help Immediatly

1 Answer 1

1

You might need to register the control on the page:

<%@ Register TagPrefix="scott" TagName="header" Src="Controls/Header.ascx" %>
<%@ Register TagPrefix="scott" TagName="footer" Src="Controls/Footer.ascx" %>
<%@ Register TagPrefix="ControlVendor" Assembly="ControlVendor" %>

<html>
  <body>
     <form id="form1" runat="server">
        <scott:header ID="MyHeader" runat="server" />
     </form>
 </body>
</html>

This was taken from Scott Gu's Blog

Sign up to request clarification or add additional context in comments.

4 Comments

Where does the InderGrid come from? is it another control (as in InderGrid.ascx) or is it from a dll?
Then at the top of Default2.aspx under <%@ Page Language="C#" add: <%@ Register TagPrefix="scott" TagName="footer" Src="<path>/ InderGrid.ascx" %>
sorry, it comes from dll name is Indrajeet.dll
Add the following and replace namespace (make sure it is included in the project references): <%@ Register TagPrefix="IND" Namespace="Indrajeet" Assembly="Indrajeet" %>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.