473,395 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Disabling auto-populating of form elements

I would like to disable the auto-populating feature (remembers form
element text between post-backs) when creating a .NET form.

I have succeeded in disabling auto-populate by creating my controls
during PreRender, but that becomes highly cumbersome. Is there a way
to explicitly turn off auto-populate?

I'm pretty sure the form isn't getting auto-populated by the ViewState
mechanism, because I've specifically set EnableViewState to False on
the page and on each control.

Thanks.
Nov 18 '05 #1
1 1787
Hi,

that's the workings of controls that use standard form post mechanism. You
need to clear them manually.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"Jason Galvin" <jg*****@providentfunding.com> wrote in message
news:88**************************@posting.google.c om...
I would like to disable the auto-populating feature (remembers form
element text between post-backs) when creating a .NET form.

I have succeeded in disabling auto-populate by creating my controls
during PreRender, but that becomes highly cumbersome. Is there a way
to explicitly turn off auto-populate?

I'm pretty sure the form isn't getting auto-populated by the ViewState
mechanism, because I've specifically set EnableViewState to False on
the page and on each control.

Thanks.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Hal Robertson | last post by:
I have created a rather complicated series of html forms for a data entry wizard In my mozilla browser, every time I submit each form along the process, it asks me if I want to remember the...
0
by: FloydPW | last post by:
I am attmempting to enable/disable a device in C#. I am able to locate it and tell it to disable, but the device will not disable even upon reboot. I am hoping someone can lead me in the right...
4
by: Steve | last post by:
I have the MDI MFC application ported to .NET. Now this application include mixed managed/unmanaged code. The application displays progress dialog with the cancel button during lenghtly...
3
by: PB | last post by:
What is the rationalle for disabling JavaScript. AFAIK, the primary reason is for "security purposes" - but what specific kind of threats does the protect against? AND - is the disabling of...
4
by: Hugh Janus | last post by:
Hi all. I am using the ServiceController class to interface with a service on a Windows 2003 Server. However, I cannot work out how to disable the service or set it to manual. Starting it and...
12
by: Nalaka | last post by:
Hi, I suddenly started getting a lot of errors from html validation (some CSS) so I followed the following instructions to disable it. If you'd rather not have these types of HTML validation...
0
by: Untitled | last post by:
Using Ajax .NET (or javascript) to auto-refresh some pages causes the Session timeout to reset. In my application I have certain panels that i would like to update every 10 seconds or so, but i...
1
Ali Rizwan
by: Ali Rizwan | last post by:
Hi all, I want to disable auto restoration of windows. Suppose if i delete a file say explorer.exe after a while it will create again by windows. If i change any registery it will restore...
5
by: jehugaleahsa | last post by:
Hello: I am sure this question comes up a lot. I need to disable the controls on my Windows forms so that when the BindingSource is empty some the controls bound to it will be disabled. This...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.