CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 12/21/2005 11:42:01 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 21 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
smcpoland
Asp.Net User
Forms in Master Pages12/21/2005 11:42:01 AM

0/0

Hi all,

I have a simple master page; top, left side and bottom with a content holder in the right side; pretty much like most pages out there I suppose. In the left side I have a treeview node setup for "Book/Chapter/Section" navigation - no problem so far.  This Master page is within a form (id=form1) as required by the Treeview...

Now my problem starts...

As a child of the Master page I have another form...

<form autocomplete=off action=requestVisitorPrint.aspx method=post name=RDCVRF id=RDCVRF >

.....code....+  reset and submit buttons

</form>

Now, as far as I know you can't have a form within a form...makes sense so the above does not work, but I want my content page to action to the page I want...

can someone help me please....

Many thanks in advance

regards

Sean

Fredrik N
Asp.Net User
Re: Forms in Master Pages12/23/2005 8:52:20 AM

0/0

Can't the PostBackUrl attribute of a Button control solve the problem for you?

 If you set the PostBackUrl to an URL, the page will be posted to that URL when the button is pressed.


/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
smcpoland
Asp.Net User
Re: Forms in Master Pages12/24/2005 8:27:57 AM

0/0

Many thanks this worked as I required it.

However it was confusing a little as I was using the Form Submit button which does not use the PostBackUrl parameter.

I had to substitute the submit input with the "button" to do the actual submission.

regards

Sean

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
Adobe Acrobat 8 PDF Bible Authors: Ted Padova, Pages: 1085, Published: 2007
Foundations of Microsoft Expression Web: The Basics and Beyond Authors: Cheryl D. Wise, Pages: 370, Published: 2007
Microsoft Sharepoint: Building Office 2007 Solutions in C# 2005 Authors: Scot Hillier, Pages: 513, Published: 2007
Skyring's Builders' Prices: Calculated to Form a Complete Guide to Employers, Master Builders, & Workmen : to which Has Been Added a Daily Or Weekly Journal, with Fifty-two Ruled Pages for Keeping Weekly Time Accounts ... and a Variety of Useful Information, Never Before Published Authors: William Henry Skyring, Pages: 183, Published: 1838
The Shrub Identification Book: The Visual Method for the Practical Identification of Shrubs, Including Woody Vines and Ground Covers Authors: George Wellington Dillingham Symonds, Pages: 384, Published: 1973

Web:
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps Apr 11, 2006 ... master page masterpages asp.net 2.0. ... NET web form using a master page, the content page (.aspx) and master page (.master) merge their ...
Master Pages In ASP.NET 2.0 Jul 18, 2005 ... The ASPX web forms we use to put content into master pages are plain .aspx files , although with a few differences. ...
Master pages and forms Talk about Master pages and forms. ... Master pages and forms. Do you put your form on the master page or in each individual page? I use a ...
Form Elements in ASP.NET Master Pages and Content Pages - Stack ... I have never had form elements in both my master and content pages, I tend to have all the forms in the content where relevant. ...
Multiple forms within Masterpages - ASP.NET Forums I know there must be a million posts about the "masterpages forms" issue. Can anyone please posts links to resources on how to get multiple ...
Web forms with master pages not displaying in other browsers ... Also I would like to add that if I am not using master pages, then I am not having this problem. All the forms are doing fine in all the ...
Master pages and forms - .NET ASP Master pages and forms. Get answers to your questions in our .NET ASP forum.
Applying master pages to forms whose number of pages vary By default, all form designs are created with the option of applying master pages by setting minimum and maximum occurrence values. ...
p2p.wrox.com Forums - Problem accessing Request.Form with Master Pages But when we add Master Pages, and the page with the ListBox and button are now inside a ContentPlaceHolder, acessing Request.Form["ListBox"] ...
Master Pages, Themes, and Skins These features come in the form of master. pages, themes, and skins. Master Pages and Content Pages. Master pages are very similar to a normal page or Web ...

Videos:
7 GRANDMASTERS (1978) 1/10 "NO SUB" Sang Kuan Chun (Jack Long) is the martial arts practitioner whose mastery of the six strikes of the Pak Mei form of Kung Fu has made him ...
Free Dharma-Zen Chi Kung I DVD Sample Master Danny Lai designed three Dharma-Zen Chi Kung forms with modern people in mind. He has synthesized pieces from much larger and longer chi ...
(Napoleon Hill) - "A Year of Growing Rich" Ch 04 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the ...
01 Tafsee Sura Fateha by Dr Shabbir Ahmad Dr Shabbir Ahmed is working on Huge Quran Project. He has recorded on audio every Beyan for the more than 15 years onto a library of 190 audio ...
7 GRANDMASTERS (1978) 9/10 "NO SUB" Sang Kuan Chun (Jack Long) is the martial arts practitioner whose mastery of the six strikes of the Pak Mei form of Kung Fu has made him ...
(Napoleon Hill) - "A Year of Growing Rich"- Ch 08 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the ...
Moon Sighting Seminar by Dr Shabbir Ahmad - Part 2 Dr Shabbir Ahmed received his first Master of Arts Degree in 1985 in the area of Shahadat ul Aalamiyah from the Board of Islamic Education, Multan ...
Aashoora and Shahadat Imam Husain by Dr Shabbir Ahmad Dr Shabbir Ahmed received his first Master of Arts Degree in 1985 in the area of Shahadat ul Aalamiyah from the Board of Islamic Education, Multan ...
7 GRANDMASTERS (1978) 8/10 "NO SUB" Sang Kuan Chun (Jack Long) is the martial arts practitioner whose mastery of the six strikes of the Pak Mei form of Kung Fu has made him ...
(Napoleon Hill) "A Year of Growing Rich" Chapter 01 http://www.MarketingWith.RonCorbin.net http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link ...




Search This Site:










content pages and schema violations

how to apply a skin theme to cell backround images??

change font size

web.sitemap editor

tabstrip problem

asp.net how to put a content home page/form into a content placeholder

menuitem and securitytrimming

how to prevent master page images and content page flicker while navigate the menu bar.

hiding items in the menu control?

ironpython & navigation

setting background color of .selecteditem.parent when a dynamic menuitem is selected?

retain theme

button backcolor on content page

multiple codebehind files of master/aspx/ascx-files inherit from custom base-class

masterpage and redirect

navigation menu question.

passing session variables between content pages

defaultbutton on htmlform control

finding a controls inside a formview which is inside a masterpage

master pages across multiple web apps

possible bug using masterpage, posturlback and controller page?

very basic help on masterpage

untitled page using master pages

treeview or menu: make items aligned left rather than center (websitemap)

finding a control in the page from webusercontrol

page title

masterpage and postback

easiest/recommended navigation menu control/solution that works with safari

page name?

problems posting one value to another page using postbackurl and masterpages

  Privacy | Contact Us
All Times Are GMT