c# - Hiding contact form and showing confirmation message -


i have mvc page has large amount of content , 'contact us' form. once submitted, wish hide form , show confirmation message.

what best way approach this? i've found tutorials use separate 'thank you' controller , view, seems counter-intuitive of course have repeat page content.

thank in advance.

you can use partial view , ajax.beginform instead of html.beginform. might you've read when mentioned controller , view. partial views can reused in various containing views.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -