Connecting Tech Pros Worldwide Help | Site Map

Multiple Forms

  #1  
Old November 17th, 2005, 06:54 PM
Jonathan Amend
Guest
 
Posts: n/a
I want to make a page that has 2 forms on it but I can't use any
runat=server controls because there can only be one runat=server form. Is
there a way of having 2 forms with runat=server controls or do I have to
resort to normal forms with submit burrons and processing the request
manually when Page_Load fires?


  #2  
Old November 17th, 2005, 06:54 PM
Victor Garcia Aprea [MVP]
Guest
 
Posts: n/a

re: Multiple Forms


Hi Jonathan,

If you really, really, *really* need two server-side forms, then check out
Paul's[1] site which includes such a control.

[1] http://www.wilsondotnet.com/

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.

"Jonathan Amend" <cephas_is@hotmail.com> wrote in message
news:3f14b5f5$1_1@aeinews....[color=blue]
> I want to make a page that has 2 forms on it but I can't use any
> runat=server controls because there can only be one runat=server form. Is
> there a way of having 2 forms with runat=server controls or do I have to
> resort to normal forms with submit burrons and processing the request
> manually when Page_Load fires?
>
>[/color]


  #3  
Old November 17th, 2005, 06:54 PM
Steve C. Orr, MCSD
Guest
 
Posts: n/a

re: Multiple Forms


You cannot have 2 runat=server forms on the same form unless one of them is
invisible.
One potential workaround is to use an IFrame.
Here's more info on IFrames:
http://msdn.microsoft.com/workshop/a...cts/IFRAME.asp

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net

"Jonathan Amend" <cephas_is@hotmail.com> wrote in message
news:3f14b5f5$1_1@aeinews....[color=blue]
> I want to make a page that has 2 forms on it but I can't use any
> runat=server controls because there can only be one runat=server form. Is
> there a way of having 2 forms with runat=server controls or do I have to
> resort to normal forms with submit burrons and processing the request
> manually when Page_Load fires?
>
>[/color]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple forms in one asp page? c676228 answers 5 November 8th, 2006 05:05 AM
Create a slide show of multiple forms question answers 0 February 2nd, 2006 07:55 AM
Strategy to Refresh Multiple Forms Simultaneously Jeff answers 7 January 27th, 2006 05:47 PM
multiple forms on one page TJS answers 8 November 18th, 2005 01:08 PM