468,283 Members | 1,957 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,283 developers. It's quick & easy.

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 1571
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by FloydPW | last post: by
1 post views Thread by | last post: by
3 posts views Thread by PB | last post: by
4 posts views Thread by Hugh Janus | last post: by
5 posts views Thread by jehugaleahsa | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.