Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 July 16th, 2004, 07:47 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default how to add more than one form in asp.net

in classic asp you could add multi submit forms in a page how to do that in asp.net

Ahmed Ali
Software Developer
__________________
Ahmed Ali
Senior Software Developer
 
Old July 19th, 2004, 09:07 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

ASP.NET does not support this because you can't post to different pages. ASP.NET always posts to the same page the form is on. This is the basis of the "postback" paradigm. You can however, do whatever processing you would need for what might appear visually to be a different form, then redirect to another page.
 
Old July 19th, 2004, 02:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Or Server.Transfer and Server.Execute can meet your needs.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Add CheckBoxField in ASP.NET creative.programmer ASP.NET 1.0 and 1.1 Basics 0 November 11th, 2007 05:47 PM
Video: Add some Atlas to your ASP.NET 2.0 jminatel ASP.NET 2.0 Professional 0 June 22nd, 2006 04:02 PM
Add asp.net page to asp project debdemoe Classic ASP Basics 0 August 17th, 2005 12:28 PM





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