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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looping through server-side form fields

Status
Not open for further replies.

theomen

Programmer
Jun 2, 2004
158
GB
Hi All,

I'm hoping someone can help with this as its beginning to wind me up.

Is there a way in asp.net to loop through the fields in a server-side form (ie. with runat="server"), the same way that you can use "for each item in request.form()" for client-side forms?

I want to create a login form that pops up when a users session times out and they attempt to submit a form, I want each field within the users form to be copied to the login form, so when they log back in it can keep hold of the data instead of them having to type it all in again.

I've tried googling the query but I've had no success yet. I've found a way to get each of the id's, but not the values of the fields.
 
Perhaps you can post the question in ASP.NET forum.

 
Thanks mansii, have just posted it in there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top