View Single Post
  #3 (permalink)  
Old September 7th, 2003, 01:08 PM
drfunkie drfunkie is offline
Authorized User
Join Date: Jun 2003
Location: New orleans, Louisiana, USA.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts

You are right IMAR, the form tags are missing from the code on the subscribe.aspx page.

The form seems to be an oversight by the developers of the book. The tags are missing in both the C# version and the VB Versions of the code.

Here is my subscribe.aspx page with the form tags.

<%@ Register
    TagPrefix="WroxUser" TagName="SiteHeader"
<%@ Register
    TagPrefix="WroxUser" TagName="SiteFooter"
<%@ Register
<%@ Page
    Inherits="Wrox.WebModules.MailingLists.Web.Subscri be"
<!doctype html public "-//w3c//dtd html 4.0 transitional//en" >
        <title>MailingLists: Subscription</title>
        <meta name="code_language" content="Visual Basic 7.0">
        <link rel="stylesheet" href="../../Styles/ThePhile.css" />
        <link rel="stylesheet" href="../../Styles/Navigator.css" />
    <form id="subscribe" runat="server" method="post">
        <WroxUser:SiteHeader id="Header" runat="server" />
        <table width="100%" border="0" cellspacing="4" cellpadding="2">
                <td width="100%" valign="top">
                    <asp:Label id="Subject" runat="Server"
                        Visible="false" />
                    <asp:Label id="Message" runat="Server"
                        Visible="false" />
                    <asp:Label id="EmailRequired" runat="server"
                        Text="The Email address is required"
                        CssClass="Error" />
                <td align="right" valign="top">
                    <Wrox:Navigator id="MenuNav" runat="server"
                        TransformFile="/ThePhileVB/Styles/NavMenu.xslt" />
        <WroxUser:SiteFooter id="Footer" runat="server" />
        </form> </body>

The page is working now but the Link to [blue]unsubscribe is not working, however this is a peace of cake to fix.

Thanks again IMAR