By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,953 Members | 1,541 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,953 IT Pros & Developers. It's quick & easy.

Disabling auto-populating of form elements

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.