Problems, problems for newbie

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm getting very frustrated with a number of problems I have encountered in
my first application. Any and all help will be appreciated.

I have a master page called Managing.master with the vb in
Managing.master.vb.

The first lines of Managing.master are:
<%@ Master Language="VB" Codefile="Managing.master.vb" Inherits="MasterPage"
%>
<!DOCTYPE html PUBLIC "~//W3C//DTD XHTML 1.0 Transitional//EN
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xnlns="http://www.w3.org/1999/xhtml";>

The file Managing.master.vb has:
Partial Class Managing
Inherits System.Web.UI.MasterPage
End Class

My specific file is orders.aspx and it starts with:

<%@ Page Language="VB" MasterFilePage="~Managing.master"
AutoEventWireup="false" Codefile="order.aspx.vb" Inherits="manage_order"
title="Untitled Page" %>

Note that the order.aspx files are in a subdirectory called "manage".

I have a style*** called style.css. It looks perfect and I created it
with the Web Developer UI.

OK, here are the problems:

1 - With the css, it finds some of the classes but not all. If I cut and
paste a bunch of them to a different part of the file, it stops seeing a
bunch it already saw. If I edit undo a couple of time to restore the
original, it still cannot find those classes.

2 - I am getting errors from Managing.master.vb(2); error ASPNET: Make sure
that the class defined in this code file matches the 'inherits' attribute;
and that it extends the correct base class.

3 - 'Context' is not a member of 'MasterPage'.

4 - 'ReadStringResource' is not a member of 'ASP.managing.master';

5 - 'ContentPlaceholders' is not a member of 'ASP.managing.master';

6 - 'ContentTemplates' is not a member of 'ASP.managing.master';

Note that I created the Master Page using the MasterPage option in FileNew
and I create the orders file with the Web file choice in File/New.

Help, please?

Shelly



.


Quantcast