473,239 Members | 1,607 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,239 software developers and data experts.

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 1328
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
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
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
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
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
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
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
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
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
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.