Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maintaining Page State in ASP.Net 1

Status
Not open for further replies.

roblaro

Programmer
Apr 30, 2002
1
US
Here is the deal. On my asp.net page I have an autopostback text field that fires a subroutine to lookup an ID and then display it back on the page. The problem with this is that all other form fields on the page are reset when this is fired. Does anyone know how I can maintain the page state so that any information entered in the other form fields is not reset?
 
<%@ Page EnableViewState=&quot;true&quot; %>

should do it.

:)
paul
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top