473,382 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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

Nov 21 '06 #1
4 1451
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" <ac*****@cygen.comwrote in message
news:11**********************@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
Nov 21 '06 #2
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" <ac*****@cygen.comwrote in message
news:11**********************@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

Nov 21 '06 #3
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

Nov 21 '06 #4
"brett" <ac*****@cygen.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
Is the FORM element on the Master necessary
Yes.
or how do I get around this situation?
Remove the <formtag from your content pages.
Nov 21 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Friso Wiskerke | last post by:
Hi All, We've got an VS.2003 ASPNET (VB) webproject which we would like to convert to VS.2005 so that we can make use of the Master Page feature. Converting the initial pages to 2005 is not such...
1
by: Jason | last post by:
I have page1.aspx that a user enters data in some form fields. Page1.aspx's form fields are placed within a Content Place Holder on the page and the page is using a Master Page. Page1.aspx posts to...
8
by: JT | last post by:
Hi, I have done a fair amount of style editing inline in ASP. I'm now using VS 2005 with a standard web project (not Web Application Project). This is my first foray into CSS in a style sheet...
9
by: RBM007 | last post by:
Hello, I have created some pages in the (old) Atlas pages and migrated to AJAX version. After the update I noticed that any page containing ASP.NET AJAX won't compile anymore. Even if the same...
0
by: dixonjm | last post by:
Hi, I have a master page & various pages that will use this master page. Each content page will have a CSS & JS file which will be named the same as the content page. When I try to load the CSS...
1
by: sudip2008 | last post by:
When using the Calendar Popup in a content page of a masterpage the strForName is always set to aspnetForm This breaks this line from working properly window.opener.document.forms...... How can...
4
by: Ty | last post by:
Hello, I have made a Master Page that basically consists of a table with 2 rows and 3 columns. The first row spans all 3 cols to form a header. The first column in the 2nd row is being used as a...
8
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then...
2
by: daveh551 | last post by:
I'm a little confused about something. I have a "Contact Us" page that I'm developing that runs within a content page under a master page. I was plagiarizing fairly liberally from some other...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.