Smooth scroll to top of page after an asp.net ajax postback
<p>I have an error message area at the top of a long page. After an ajax postback in asp.net (using an update panel), sometimes I need to display an error message and it will be displayed outisde the viewport and the user might not notice it. </p>

<p>I would like the return (same) page to scroll smoothly to the top of the page, rather than a sudden jump. It's a better user experience in my opinion.</p>

<p>I am looking for c# + Javascript code to do this effect or at least the JS smooth scrolling effect.</p>
