In my previous article I have explained about C# code to send mail using smtp from gmail,yahoo mail and live mail. In this article I am going to explain about how to maintain scroll position on postback.
To maintain the scroll position on page wise set the MaintainScrollPositionOnPostback property to true in Page directive. Below is the sample code.
To maintain the scroll position on application wise then add the below code in web.config.
Do you like this article? Help us to improve. Please post your comments below.