Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 6th, 2003, 05:54 PM
Registered User
 
Join Date: Nov 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default formtag causes error message

according to example on page 126 (wrox: Beginning ASP.NET using VB.NET) I use in firstpage.aspx the formtag <form action="nextpage.aspx" method="post">.
Unfortunately this causes an error message like "runat is missing in the formtag".
When I alter the formtag into <form action="nextpage.aspx" runat="server"> and in the same time put the script from nextpage.aspx into firstpage.aspx, everything works as I expect:
all data are displayed in firstpage.aspx. I don't understand why the way to display the data in nextpage.aspx is not functioning, although it is quite clearly discribed in the book.
Who can give me some advice.
thanks
Ernst
 
Old November 7th, 2003, 02:54 AM
Registered User
 
Join Date: Nov 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry I've dropped into the wrong forum, try again in books
Ernst

 
Old November 7th, 2003, 10:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You are in the correct forum.

Both pages need to have runat="server" in the form tag.






Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the error message for a 500 server error? chobo2 C# 2005 1 May 4th, 2008 03:11 AM
Where does the error message go? Wei Wang BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 March 13th, 2006 02:03 PM
Error Message alannoble26 Excel VBA 4 November 25th, 2005 11:20 AM
error message. Tasha Access VBA 2 August 11th, 2004 11:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.