.NET Thank you/confirmation page best practise
- by sooty
Hi, whats the best practise for implementing a confirmation page in .Net?
I've used response.redirect("Thankyou.aspx") a lot in the past I've also used something like this for hiding form controls and outputting a message:
outResult.Attributes.Remove("style")
outResult.Attributes.Add("style", "display:block;")
outEntry.Attributes.Remove("style")
outEntry.Attributes.Add("style", "display:none;")
For the above you have to consider post backs that may occur if the user click refresh though.
Does anybody have a better option? thanks!