Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Using FORM within Master page?

Reply
Thread Tools

Using FORM within Master page?

 
 
brett
Guest
Posts: n/a
 
      11-21-2006
I have an ASPX page that needs to use a FORM. However, it's master
page already has a FORM element, which prevents the ASPX page from
using its FORM element. I'm not doing anything special on the Master
page. The FORM element was there when I added the Master page. Is the
FORM element on the Master necessary or how do I get around this
situation?

Thanks,
Brett

 
Reply With Quote
 
 
 
 
Karl Seguin
Guest
Posts: n/a
 
      11-21-2006
No, I don't believe it's necessary (should be pretty simple to try without
it).

Some of the other pages that use the MasterPage might expect that form to be
there though.

Karl
--
http://www.openmymind.net/
http://www.fuelindustries.com/


"brett" <> wrote in message
news: ups.com...
>I have an ASPX page that needs to use a FORM. However, it's master
> page already has a FORM element, which prevents the ASPX page from
> using its FORM element. I'm not doing anything special on the Master
> page. The FORM element was there when I added the Master page. Is the
> FORM element on the Master necessary or how do I get around this
> situation?
>
> Thanks,
> Brett
>


 
Reply With Quote
 
 
 
 
David Wier
Guest
Posts: n/a
 
      11-21-2006
Why not remove the form in your content page? The content page should use
the form in the master page, just as if it was it's own.

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com


"brett" <> wrote in message
news: ups.com...
> I have an ASPX page that needs to use a FORM. However, it's master
> page already has a FORM element, which prevents the ASPX page from
> using its FORM element. I'm not doing anything special on the Master
> page. The FORM element was there when I added the Master page. Is the
> FORM element on the Master necessary or how do I get around this
> situation?
>
> Thanks,
> Brett
>



 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      11-21-2006
"brett" <> wrote in message
news: ups.com...

> Is the FORM element on the Master necessary


Yes.

> or how do I get around this situation?


Remove the <form> tag from your content pages.


 
Reply With Quote
 
brett
Guest
Posts: n/a
 
      11-21-2006
David Wier wrote:
> Why not remove the form in your content page? The content page should use
> the form in the master page, just as if it was it's own.


I see. I guess the FORM post url is supplied some how by the content
page? Sorry, I'm not that familar with it yet.

Thanks,
Brett

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the value of a Master page's control's property using a property of the Master page Nathan Sokalski ASP .Net 25 03-04-2010 03:42 AM
Using update panel with master & nested master pages katmagic ASP .Net 0 12-26-2008 07:41 PM
Using a user control within a master page Cirene ASP .Net 3 05-19-2008 02:45 PM
Cross Page Post Back When Using Mixture of Master Pages and Non-Master Pages Jason@webbit.com ASP .Net 1 05-16-2006 02:00 PM
seeking servlet "Master" keep getting "Master/servlet/Master" not found. Tomcat 5.0.25 Doug McCann Java 1 08-05-2004 09:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57