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

Page reload

P: n/a
I'm lost with how to do this. I'm trying to reload a page after a user
completes their transaction and clicks on a button to create another
transaction. I want all the fields on the form to be re-initialized so the
user may enter another transaction. Do I need to initialize all of the
fields on the postback, or is there an easier way?
Thanx,
Mike
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ben
Try disabling viewstate for the fields that should be blanked out.
"Mike Voissem" <vo******@stjosephs-marhshfield.org> wrote in message
news:u7**************@TK2MSFTNGP10.phx.gbl...
I'm lost with how to do this. I'm trying to reload a page after a user
completes their transaction and clicks on a button to create another
transaction. I want all the fields on the form to be re-initialized so
the
user may enter another transaction. Do I need to initialize all of the
fields on the postback, or is there an easier way?
Thanx,
Mike

Nov 19 '05 #2

P: n/a
In the button click handler, couldn't you just response.redirect to the
page you're on? That should make the resulting page not a postback,
and the fields should be re-initialized.

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.