Help!Why IE said this?
The error message is :
Control 'FullName' of type TextBox must be placed inside a form tag with runat=server
I followed by the book.
The source code is:
<html>
<head>
<title>Holiday Page</title>
</head>
<body>
<form action="holidayresponse.apsx" method="post" >
<h1>Feiertag Holidays</h1>
Please enter your details here:
<br/><br/>
Name:<asp:TextBox ID="FullName" runat="server" />
<br/>
Address:<asp:textbox ID="Address" Rows="5" TextMode="MultiLine" runat="server"/></p>
<br/><br/>
************ -
<asp:RadioButtonList ID="************" runat="server">
<asp:ListItem value="Male"/>
<asp:ListItem value="Female"/>
</asp:RadioButtonList>
Please select the desitination you would like details on:
<asp:DropDownList ID="Destination" runat="server">
<asp:ListItem value="Madrid"/>
<asp:ListItem value="Barcelona"/>
<asp:ListItem value="Lisbon"/>
<asp:ListItem value="Oslo"/>
<asp:ListItem value="Prague"/>
</asp:DropDownList>
<br/><br/>
<input type="submit">
<input type="Reset">
</form>
</body>
</html>
Tom from China University of Geoscience at Beijing... I'm instested in C#,Asp.Net,Linux,GIS
|