Connecting Tech Pros Worldwide Help | Site Map

Multiple Forms

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 17th, 2005, 05:54 PM
Jonathan Amend
Guest
 
Posts: n/a
Default Multiple Forms

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, 05:54 PM
Victor Garcia Aprea [MVP]
Guest
 
Posts: n/a
Default 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, 05:54 PM
Steve C. Orr, MCSD
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.