whenever new row is added then already existing row will be slowly move downword and new one will be added in the grid view control.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out the jQuery.ScrollTo plugin it works great for scrolling the screen slowly.
Have some control below your grid it can be an existing control or you could add an anchor tag like
After you add your row you would add the script $.scrollTo(‘#grid_bottom’) using ScriptManager.RegisterStartupScript or ClientScript.RegisterStartupScript (use the script manager one of you are using an update panel) and it should scroll down slowly.
Link to download page for jQuery ScrollTo Plugin
Here is some example code, you can change the duration in the ScrollTo function or leave it off, and the scroll will happen immediately without smoothly scrolling: