I am trying to use the PreviousPage property to refer to a textbox on my HomePage.aspx page where I have setup the Public Readonly Property. On my Page2.aspx page, I have
<%@ Page Language="
VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Page2.aspx.
vb" Inherits="Page2" title="Untitled Page" %>
<%@ PreviousPageType VirtualPath="~/HomePage.aspx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2"
Runat="Server">
<asp:TextBox ID="txtDocNbr" runat="server"
Style="z-index: 100; left: 576px; position: absolute;
top: 228px" Width="96px">
</asp:TextBox>
</asp:Content>
After I type in the <%@ PreviousPageType directive, the <%@ Page is underlined as an error. The error says "Type 'ASP.HomePage_aspx' is not defined". What does this mean?