471,337 Members | 1,115 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 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 1271
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by Matthew Louden | last post: by
5 posts views Thread by Alex Maghen | last post: by
4 posts views Thread by Prabhat | last post: by
3 posts views Thread by Mike Hudson | last post: by
17 posts views Thread by Sam Kong | last post: by
reply views Thread by rosydwin | last post: by

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.