|
HTML•Web Page Employs HTML and Server Controls Listing 3. For any Web page that uses the template, set its class behind to inherit from the base class. The HTML code of the page is wrapped by a Panel control. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="MyPage.aspx.vb" Inherits="MyNameSpace.MyPage"%>
<HTML>
<HEAD>
<title>MyPage</title>
</HEAD>
<body>
<asp:panel id="PageContent" runat="server">
<!-- the html code (with server controls) for this page -->
</asp:panel>
</body>
</html>
|