473,320 Members | 1,945 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,320 software developers and data experts.

Master page and HTML FORM tag?

How can I use an HTML FORM tag on a content page that uses a Master
page? The HTML FORM is now inside the Master page serverside FORM. I
need to use the HTML FORM on a few pages.

Thanks,
Brett

Nov 29 '06 #1
4 5822
I'm not sure what you are meaning - - - - Why not just use the Form Tag in
the Master Page?
It just becomes an HTML form tag when the page loads....and besides, with
the DotNet paradigm now, multiple forms are not necessary to accomplish
multiple events....

What is it exactly you are needing to accomplish, and why is the MasterPage
form not enough to do what you need?
--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com
"brett" <ac*****@cygen.comwrote in message
news:11*********************@j44g2000cwa.googlegro ups.com...
How can I use an HTML FORM tag on a content page that uses a Master
page? The HTML FORM is now inside the Master page serverside FORM. I
need to use the HTML FORM on a few pages.

Thanks,
Brett

Nov 29 '06 #2
What is it exactly you are needing to accomplish, and why is the MasterPage
form not enough to do what you need?
I have one page with multiple PayPal "Add to cart" images. Each image
is inside of a FORM. This is code that comes from PayPal. So how can
I do that with one FORM tag? Each one uses a different URL.

The page has an "Add to cart" for each different product.

Thanks,
Brett

Nov 29 '06 #3
Go here...
http://www.paypaldev.org/
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP http://wikimapia.org/#y=43038073&x=-...8&z=17&l=0&m=h

"brett" <ac*****@cygen.comwrote in message
news:11*********************@16g2000cwy.googlegrou ps.com...
>What is it exactly you are needing to accomplish, and why is the
MasterPage
form not enough to do what you need?

I have one page with multiple PayPal "Add to cart" images. Each image
is inside of a FORM. This is code that comes from PayPal. So how can
I do that with one FORM tag? Each one uses a different URL.

The page has an "Add to cart" for each different product.

Thanks,
Brett

Nov 30 '06 #4

clintonG wrote:
Go here...
http://www.paypaldev.org/
Try this:
<pages validateRequest="false" enableEventValidation="false" />

If you are using multiple FORMs, you'll need to add a dummy <form>
first:
<form></form>

Brett

Nov 30 '06 #5

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

Similar topics

2
by: Scott | last post by:
I'm using a master page (mp_TableMaint.aspx) with one Content area (ID: Content1). Content1 contains several usercontrols, which are hidden. The goal is to show the correct control based on the...
3
by: ivanpais | last post by:
Hi, I have a Web User Control, Lets say "Foo.ascx", that contains a button "btnFoo". I have a Master Page "Bar.master", that has a label "lblBar". This label is exposed by a public property...
2
by: SR | last post by:
I have started a web site using ASP.NET 2.0. I would like to centralize all of my classes in a StyleSheet but I cannot figure out how to link the StyleSheet to a Content Page since there is no...
4
by: Diane Yocom | last post by:
I'm trying to use an Atlas UpdatePanel to just update a label when a text box has changed. The problem is that my textbox is in a user control and I'm using Master Pages - with the combination of...
0
by: romaricr | last post by:
Hello, We are having issues with namespaces. Here is what we do: - We set a namespace for our project and pages (something like 'group.project.component.folder.subfolder.page) - We add a...
6
by: mike | last post by:
I'm having a problem getting AJAX working with a master page. I have created a new website using the AJAXControlToolkit template and default.aspx as follows. <%@ Page Language="C#"...
2
by: Dave | last post by:
It seems that if I put just html inside a master page, everything works fine. But if I put other controls (such as WebControls and/or my own custom controls), I can't seem to access the content...
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...
5
by: xlar54 | last post by:
I have a very simple 2.0 website (framework), that uses a master page...not. I added the default.aspx page as a webcontent form, with the master page as it's master page, but the master page is...
2
by: raghulvarma | last post by:
I have a master page like <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.