compiler error
-
Hello, thanks for providing solution to multiselect dropdown . I have downloaded the applications and converted it to vs 2005.After conversion the application is running properly but when i copied usercontrol and page from this application and added to another application i am getting the compilation error mentioned below: CS0115: 'ASP.webform1_aspx.GetTypeHashCode()': no suitable method found to override Line 511: Line 512: [System.Diagnostics.DebuggerNonUserCodeAttribute()] Line 513: public override int GetTypeHashCode() { Line 514: return 1203564985; Line 515: } I am maintaining the same heirarchy and namespace as per original application but unable to resolved it. Please let me know the solution. Thanks in Advance!!
-
Hello, thanks for providing solution to multiselect dropdown . I have downloaded the applications and converted it to vs 2005.After conversion the application is running properly but when i copied usercontrol and page from this application and added to another application i am getting the compilation error mentioned below: CS0115: 'ASP.webform1_aspx.GetTypeHashCode()': no suitable method found to override Line 511: Line 512: [System.Diagnostics.DebuggerNonUserCodeAttribute()] Line 513: public override int GetTypeHashCode() { Line 514: return 1203564985; Line 515: } I am maintaining the same heirarchy and namespace as per original application but unable to resolved it. Please let me know the solution. Thanks in Advance!!
Read This, http://forums.asp.net/t/1225330.aspx[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Hello, thanks for providing solution to multiselect dropdown . I have downloaded the applications and converted it to vs 2005.After conversion the application is running properly but when i copied usercontrol and page from this application and added to another application i am getting the compilation error mentioned below: CS0115: 'ASP.webform1_aspx.GetTypeHashCode()': no suitable method found to override Line 511: Line 512: [System.Diagnostics.DebuggerNonUserCodeAttribute()] Line 513: public override int GetTypeHashCode() { Line 514: return 1203564985; Line 515: } I am maintaining the same heirarchy and namespace as per original application but unable to resolved it. Please let me know the solution. Thanks in Advance!!
Check whether
Inherits
of your page Directive has proper class that inheritsPage
or not. This issue occurs when Inherits doesnt find the Class. The Inherits should be pointing to a class which inheritsSystem.Web.UI.Page
. :cool:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.