check on "Codebehind" (in the source of the page) that it is referenced to the correct class (pagename.aspx.cs in c#),also check on "inherits" that contains the class name in codebehind of the page taking in consideration the namespace if used (namespace.classname)
ex:
<%
@ Page Codebehind="mypage.aspx.cs"
Inherits="mynamespace.mypage" ....
in codebehind (in the class that the page should use):
namespace
mynamespace
{
public partial class mypage : System.Web.UI.Page
{....
Best Regards,
Ala'a Alnajjar
----------------------------------------------------
Please remember to click “Mark as Answer” on the post(s) that help(s) you even if they were for the same person.
Also remember to close the thread by selecting “Resolved”,you will find it in your first post.
Convert C# to VB.net and visa versusMy Webblog