473,480 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

multiple forms allowed in asp.net 2.0 ?

i am wondering whether this is now available in asp.net 2.0? i couldn't get
any comfirmation from this newsgroup reading. thanks.

1. multiple forms (all with onserver tag) in one page
2. postback to other pages. it said that postbackURL() is now provided for
this
3. array of checkbox, etc using the same id - this is very useful for
datagrid (w3c feature)

i struggled with above in asp.net 1.1 and wondering the changes in 2.0
Nov 19 '05 #1
2 1334
You can still have just one server side form (a form with
runat="server"), but there is an option to post to another page. I
wrote about the feature here: http://odetocode.com/Articles/421.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Wed, 26 Oct 2005 07:35:08 -0700, "sshen"
<ss***@discussions.microsoft.com> wrote:
i am wondering whether this is now available in asp.net 2.0? i couldn't get
any comfirmation from this newsgroup reading. thanks.

1. multiple forms (all with onserver tag) in one page
2. postback to other pages. it said that postbackURL() is now provided for
this
3. array of checkbox, etc using the same id - this is very useful for
datagrid (w3c feature)

i struggled with above in asp.net 1.1 and wondering the changes in 2.0


Nov 19 '05 #2
Posting back to another page:

In Page1.aspx

<asp:Button id="btnButton1" Text="Another Page"
PostBackUrl="Page2.aspx" runat="server" />

Nov 19 '05 #3

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

Similar topics

1
2605
by: Griff | last post by:
Hi! I'm using JavaScript on an HTML page for form validation. I have a form value (theForm.ProdType1) which represents a picklist from which users may make multiple selections; essentially,...
19
4061
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
22
23309
by: Matthew Louden | last post by:
I want to know why C# doesnt support multiple inheritance? But why we can inherit multiple interfaces instead? I know this is the rule, but I dont understand why. Can anyone give me some concrete...
3
3530
by: jpr | last post by:
Hello, I know that this is not the rule but need some help. My datbase has three tables: MASTER TEMPLATES FORMS I have a form which is based on a table named MASTER. I have a primary key...
5
19986
by: Alex Maghen | last post by:
In ASPX 2.0 with MasterPages and all that, my entire page only has one actual <FORM>. But there are several different sections of the page that provide what are functionally separate forms with...
4
1309
by: Prabhat | last post by:
Hi Friends, Can I have one page "prod.asp" with 2 forms (form1 with ONE Submit Button and form2 with 2 submit buttons) submiting to same page "prod.asp" again? Thanks Prabhat
60
4862
by: Shawnk | last post by:
Some Sr. colleges and I have had an on going discussion relative to when and if C# will ever support 'true' multiple inheritance. Relevant to this, I wanted to query the C# community (the...
3
1320
by: Mike Hudson | last post by:
Performance/good practice wise which one is preffered. 1. Keep adding new classes/forms to an existing project. Or 2. Create a new project based on the requirement and add the reference. Which...
17
16984
by: Sam Kong | last post by:
Hello, There are 1 or more select elements with the same name in a form. Let's say that the name of the select is 'select1' and the name of the form is 'form1'. If there's only one select I...
0
7051
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7097
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
6993
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
5353
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,...
1
4794
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3003
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2993
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.