Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Using FORM within Master page? (http://www.velocityreviews.com/forums/t382837-using-form-within-master-page.html)

brett 11-21-2006 08:56 PM

Using FORM within Master page?
 
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


Karl Seguin 11-21-2006 09:30 PM

Re: Using FORM within Master page?
 
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" <account@cygen.com> wrote in message
news:1164142593.613997.238380@e3g2000cwe.googlegro 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
>



David Wier 11-21-2006 09:33 PM

Re: Using FORM within Master page?
 
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" <account@cygen.com> wrote in message
news:1164142593.613997.238380@e3g2000cwe.googlegro 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
>




Mark Rae 11-21-2006 09:59 PM

Re: Using FORM within Master page?
 
"brett" <account@cygen.com> wrote in message
news:1164142593.613997.238380@e3g2000cwe.googlegro 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.



brett 11-21-2006 10:06 PM

Re: Using FORM within Master page?
 
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



All times are GMT. The time now is 06:53 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.