locked
'ASP.employeedetails_edit_it_skills_aspx.GetTypeHashCode()': no suitable method found to override RRS feed

  • Question

  •  

     'ASP.employeedetails_edit_it_skills_aspx.GetTypeHashCode()': no suitable method found to override
    • Moved by Max Wang_1983 Friday, April 22, 2011 7:34 PM forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Monday, May 5, 2008 5:55 AM

All replies

  •  

    Hi If you have renamed the aspx file name then it may happen.

    Check for code behind file name.

    public partial class <<ClassName>> :System.Web.UI.Page

    {

    --

    --

     

     

    Here class name should be same as the name provided in aspx page

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile=<<ClassName>>

     

    Thanks,

    Alok

    Friday, May 16, 2008 1:17 PM
  • 1. Class name can be anything and the physical file name can be anything. But the ASPX page should have the below @ page.

     

     

    <%@ Page Language="C#" MasterPageFile="~/master/agentPage.master" CodeFileBaseClass="WhateverBasePage" AutoEventWireup="true" CodeFile="PhysicalNameOftheFile.aspx.cs" Inherits="NAMESPACE_OF_THE_CLASS.ClassName" Title="Untitled Page" %>

     

    Make sure the inherits has the namespace of the class

    Make sure you have the proper CodeFileBaseClass if you have any base class otherwise ignore this one.

    Friday, May 23, 2008 7:46 PM