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

beginner asp.net question

P: n/a
hi,

if i have a web page (lets say a contact us page), where a user enters their
details then clicks "send" at which point an email gets sent to the
webmaster.

now i have created the contact us page using the designer so the page
contains plenty of text boxes etc.

i want to display a simple confirmation message to the user once the user
clicks "send" rather than showing the contact us form again (which is what
is happening now). how can i do this? remember my controls for the contact
us form (ie: text boxes etc) are created in the design view.

thanks
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I'd put all of the textboxes in a Panel (panel1), and any message
confirmation controls you want in another Panel (panel2). In the designer,
make sure that panel1's Visible property is set to True and panel2's Visible
property is set to False. In the click eventhandler for the button set
panel1's Visible property to False and panel2's Visible property to true.

"suzy" <su**@spam.com> wrote in message
news:oQ*******************@pathologist.blueyonder. net...
hi,

if i have a web page (lets say a contact us page), where a user enters their details then clicks "send" at which point an email gets sent to the
webmaster.

now i have created the contact us page using the designer so the page
contains plenty of text boxes etc.

i want to display a simple confirmation message to the user once the user
clicks "send" rather than showing the contact us form again (which is what
is happening now). how can i do this? remember my controls for the contact us form (ie: text boxes etc) are created in the design view.

thanks

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.