|
-
Oct 25th, 2002, 03:01 PM
#1
Thread Starter
New Member
Stop Text box from rembering previous values
How do I Stop Text boxes from rembering previous values that have been entered into the textbox from previous data entry into the web page? Also If I do disable this will it cause me any problems when updating back to the database and as such is better to leave on ?
-
Oct 25th, 2002, 11:34 PM
#2
Hyperactive Member
On the textfield which you do not want to automatically save values set the enableviewstate property to false.
Cheers
markusJ
-
Oct 28th, 2002, 05:58 AM
#3
Thread Starter
New Member
Cheers I've tried this but it hasn't made any difference. Everytime I go to add a new value to a text box, the textbox drops down a number of values that have been entered in previously. What am I doing wrong ? I very confused.
-
Oct 28th, 2002, 12:34 PM
#4
Thread Starter
New Member
Can someone explain Enableviewstate to me. I read loads of articles but I still haven't got a clue.
1) If change the control property to enableViewstate = false , should this clear the list of previous items from text box ? (but it's not just working on my version ?)
2) Am I write in saying if I then try to update the database from this control the update won't work ?
Thanks for listening.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|