Connecting Tech Pros Worldwide Forums | Help | Site Map

Multiple Forms

Jonathan Amend
Guest
 
Posts: n/a
#1: Nov 17 '05
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?



Victor Garcia Aprea [MVP]
Guest
 
Posts: n/a
#2: Nov 17 '05

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]


Steve C. Orr, MCSD
Guest
 
Posts: n/a
#3: Nov 17 '05

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