Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old February 5th, 2009, 01:36 PM
Registered User
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Master Page PostbacURL property

Ive made a page application.aspx which inherits trader.master... Now in the trader.master masterpage file Ive added a menu control which compulsarily needs a form to run... Now I cannot add a form in application.aspx as it gives me an error

Page can have only one server-side form element.

So im stuck with using the form on the master page... but when I use the postbackURL="~/applicaationprint.aspx"... I suppose it should postback the data to applicationprint.aspx

now in my applicationprint code behind file:

        string appno = Request.Form["ApplicationNummberTextBox"].ToString();
        ResultApplicationNumber.Text = appno;
Gives me a


all the time.. It does not pass variables at all....

It works fine if I remove the masterpage.

Please Help
  #2 (permalink)  
Old February 6th, 2009, 06:29 AM
Authorized User
Join Date: Jan 2009
Location: thanjavur,india
Posts: 43
Thanks: 0
Thanked 2 Times in 2 Posts
Default from dinesh

remove the form in ur menu and add the properties like action,method,etc in the menu form to the form in master page. It will work...

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in using styleshhet in master page CodeBest ASP.NET 2.0 Basics 3 February 7th, 2009 06:26 AM
Problem loading graphics with master page fh84 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 January 18th, 2009 10:52 AM
Master Page and Content Page with Java script Harjinder ASP.NET 2.0 Professional 1 February 1st, 2008 10:31 AM
problem with master page rendering in ch02 MM BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 December 5th, 2006 08:22 PM
Session Not available Problem in Master Page cbe_seenu ASP.NET 2.0 Professional 0 July 31st, 2006 09:47 AM

All times are GMT -4. The time now is 02:28 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.