View Single Post
  #1 (permalink)  
Old April 28th, 2010, 05:13 PM
flapjack flapjack is offline
Authorized User
 
Join Date: Apr 2010
Posts: 18
Thanks: 7
Thanked 0 Times in 0 Posts
Default Page 210 Try it out.

Hi Imar,

I have tried this exercise twice and have gone through it carefully both times. The results are as follows in the TestPage code behind file:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class TestPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}

Notice that it still inherits from System.Web.UI.Page. I'm sure that it should inherit from BasePage and I don't know where I'm going wrong! Can you throw any light on this please. I'm doing exactly what it says in Step 2 i.e. changing it so it inherits from BasePage instead of System.Web.UI.Page as well as changing the class name to $safeitemname$. Any ideas please.

Bill
Reply With Quote