Mobile controls setup ch 25
Could anyone help solf this problem line from the book (common to most of the mobile samples):
public partial class List : System.Web.UI.MobileControls.MobilePage
When I try to compile I get the following error related to the above line:
Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
I tried to set the inherits attribute, similar to other working projects:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="data.aspx.cs" Inherits="mobile_data" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>
Could anyone with the general knowledge of what should be going on, see the probably obvious source of my problem?