473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Multiple form tags

Hi All,

When you open a .aspx page in VS.NET, it has the form tags
(<form>....</form>) already present. I am trying to create a web user
control that contains textboxes, buttons, and other form controls. Is
it possible to have multiple form elements on the same ASP.NET web page?
If so, must both of them have the runat attribute set to "server"?

Thanks,
Roshawn
Nov 19 '05 #1
2 1689
ASP.Net is pretty strict about what you can do with forms (ie, you can only
have 1, and it must be runat="server"). Check out
http://sourceforge.net/projects/wilsonwebform/ (free) if you need more
flexibility.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Roshawn Dawson" <ud****@bellsouth.net> wrote in message
news:ut**************@TK2MSFTNGP10.phx.gbl...
Hi All,

When you open a .aspx page in VS.NET, it has the form tags
(<form>....</form>) already present. I am trying to create a web user
control that contains textboxes, buttons, and other form controls. Is
it possible to have multiple form elements on the same ASP.NET web page?
If so, must both of them have the runat attribute set to "server"?

Thanks,
Roshawn

Nov 19 '05 #2

Check out this article to know how to use multiple forms in asp.net page.
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

He also explained, why asp.net supports only single form.

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"Roshawn Dawson" <ud****@bellsouth.net> wrote in message
news:ut**************@TK2MSFTNGP10.phx.gbl...
Hi All,

When you open a .aspx page in VS.NET, it has the form tags
(<form>....</form>) already present. I am trying to create a web user
control that contains textboxes, buttons, and other form controls. Is
it possible to have multiple form elements on the same ASP.NET web page?
If so, must both of them have the runat attribute set to "server"?

Thanks,
Roshawn

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jason | last post by:
How does one loop through the contents of a form complicated by dynamic construction of checkboxes which are assigned a 'model' and 'listingID' to the NAME field on the fly in this syntax:...
7
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
1
by: Avin Patel | last post by:
Hi, I am looking for script to allow multiple files can be uploaded/attached in webform ( mostly cgi/perl or php). But I don't like the multiple input boxes using "<input type="file" size="40"...
3
by: Adam | last post by:
Hey guys, I've decided to stop banging my head against the wall and just ask you guys for the answer. I can't seem to find it. I have a form in which I have multiple submit buttons; only, I'm...
0
by: Johnny E. Liner | last post by:
Hello, I am working on a WebApp and I am running into some trouble with multiple form tags. I have a Master page that contains three controls: MasterTop, MasterBottom, and Content. The...
3
by: MikeB | last post by:
Hello, I have a content page that is from a Master page which has 2 content panes. How do I add my forms to the content page? Each pane needs a form but you can not have multiple form tags nor...
2
by: nixan | last post by:
Hai all im new to this forum and begin to learn php. Here is a problem which may be very simple to you but it is problem to me. how can choose SELECT tag from a form if there are multiple SELECT...
2
by: Rowan | last post by:
I have a form that has several multiple select menus. I would like to save the multiple selections but be able to show them as selected items when the form data is updated. <select...
3
by: nigelesquire | last post by:
Please help! I'm trying to clone and delete multiple rows with JavaScript. I need two delete buttons that work...! I only have one for now, but it's not working properly, the output count is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.