Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 13th, 2003, 03:32 AM
Authorized User
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Viewstate when form is posted with method=GET

Is there any way to get rid of the Viewstate cluttering up the querystring when the form is posted with GET? I don't want to use method=post and redirect it because it seems microsoft can do it at http://search.microsoft.com/search/s...iew=en-us&st=b - have a look at their code - it clearly uses get. Disabling viewstate has absolutely no effect - it still persists the viewstate. Even when there aren't any controls in the form!

 
Old September 16th, 2003, 07:51 PM
Authorized User
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It seems what I wanted to do is impossible using ASP.NET controls as forms must post back to themselves. The workaround I'm using is to simply use a standard HTML form for this part of the site.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug in the highlight method for form objects cheets BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 June 11th, 2009 08:05 PM
Looping thru Form values posted to a page.. kingroon ASP.NET 2.0 Basics 1 February 13th, 2008 02:07 PM
New code posted cwebb BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 3 May 3rd, 2007 07:41 PM
Controlling reset method of form bean chamalsl Struts 2 August 8th, 2006 12:06 AM
Posted topic vrbhatt Forum and Wrox.com Feedback 3 September 24th, 2003 07:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.