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

How to personalise 'thank you' message?

P: 56

I have the following as part of my Contact.aspx.vb file:

Expand|Select|Wrap|Line Numbers
  1. Protected Sub SendEmail_Click(sender As Object, e As System.EventArgs)
in Visual Studio (2013):

Expand|Select|Wrap|Line Numbers
  1.   pnlFormFields.Visible = False
  2.         pnlThankYouMessage.Visible = True
  4.     End Sub
When the user completes the form fields in my Contact.aspx page which has this:

Expand|Select|Wrap|Line Numbers
  1. <asp:Panel ID="pnlThankYouMessage" runat="server" CssClass="panel" Visible="False">
  3.           Thank you. Your message has been sent.
  5.           </asp:Panel>
and presses 'Send', the 'Thank you message appears. Without redirecting the user to another page, how could I
personalise the 'Thank you' messsage, so that it says 'Thank you + personal name' (the name typed in the form's name field), please?

Thank you.
Apr 13 '18 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.