if you disable view state of a textbox will it maintain
data during postbacks.if yes reason

Answer Posted / sam

Yes. It maintain the data during postbacks.

Reason:Form controls, such as TextBox, retain their values
between posts even when view state is disabled. The values
of these controls do not need to be preserved in the
VIEWSTATE hidden form field because they are actually being
submitted to the server on each form post.

Is This Answer Correct ?    52 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain login control and form authentication.

562


Can you set the session out time manually?

380


Describe the .net base class library.

532


Which type if caching will be used if we want to cache the portion of a page instead of whole page?

502


What is a session government?

503






Is it possible to migrate visual interdev design-time controls to asp.net?

562


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

506


What are asp.net web forms?

521


What is the base class from which web forms are inherited?

526


What is the purpose of url encoding?

495


What is cross page posting in asp net?

530


What does the hotspot class in .net do?

568


how to debug web services on consumer side?

575


What is difference between session and cookies?

547


Disable browser cache for entire ASP.NET website?

664