Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 Search this Thread Display Modes
  #1 (permalink)  
Old July 25th, 2006, 11:20 AM
Authorized User
 
Join Date: Jul 2006
Location: , , .
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default Saving Form Data

I have 1 textbox of many in a form that I do not want IE, Firefox, etc. saving the previously entered form data. Is there a way to do this with my VB.NET app, is is an HTML thing, JavaScript, what? Google es no my friend right now.
  #2 (permalink)  
Old July 25th, 2006, 11:43 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Use a regular HTML control as opposed to an HTML server control, viewstate will not be carried over in a plain HTML control.

"The one language all programmers understand is profanity."
  #3 (permalink)  
Old July 25th, 2006, 11:47 AM
Authorized User
 
Join Date: Jul 2006
Location: , , .
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

The issue is not viewstate, it's in IE/Firefox storing the data in the field. For example, every time I type "5" in the credit card field, every other mastercard I entered previously is now in the list of saved form data that appears.

  #4 (permalink)  
Old July 25th, 2006, 12:28 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Oh your talking about the Auto-Complete Functions. I know how to disable the function for individual PC's but not how to force it so that that field cannot be saved in a browser. Try searching google on how to disable that feature in code.

"The one language all programmers understand is profanity."
  #5 (permalink)  
Old July 25th, 2006, 12:31 PM
Registered User
 
Join Date: Jul 2006
Location: chennai, Tamil nadu, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try turning AUTOCOMPLETE="OFF"....U need to add this to ur <Form> tag...So it shud be something like this

<Form AUTOCOMPLETE="OFF" method="" action="" id="">
~~~~~~~~~
~~~~~~~~~
</Form>


Defeat is not when you fall down,But,when you refuse to get up
  #6 (permalink)  
Old July 25th, 2006, 01:10 PM
Authorized User
 
Join Date: Jul 2006
Location: , , .
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Awesome, thanks! Also, thanks for the "auto-complete" term. I've been trying to figure out what the heck that was called all morning, and it wasn't coming to me.

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Saving Form Contents Borhani Excel VBA 2 January 20th, 2008 12:55 PM
Saving data using form misskaos Classic ASP Basics 3 October 27th, 2006 03:16 PM
Saving data to a table through form input misskaos Classic ASP Basics 16 October 2nd, 2006 11:54 AM
Close form without saving cqprod27 Access VBA 8 June 4th, 2004 08:14 AM



All times are GMT -4. The time now is 04:10 PM.


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