.NET Thank you/confirmation page best practise
Posted
by sooty
on Stack Overflow
See other posts from Stack Overflow
or by sooty
Published on 2010-03-21T12:53:42Z
Indexed on
2010/03/21
13:01 UTC
Read the original article
Hit count: 291
ASP.NET
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!
© Stack Overflow or respective owner