Friday, October 5

Making sure the page goes back to the same position after postback / update

Did you know that ASP.Net has a very interesting feature which works like a bookmark?

If for example you wish to ensure that the user is returned to the same position on the page after a form edit or RadioButtonList selection, adding a MainatainScrollPositionOnPostback="true" property into your Page directive will create this effect

No comments:

Post a Comment