When a asp.net button is clicked, add #button to the url
- by Blankman
Using jquery, when a button is clicked (server side), I want to append #button to the url.
This will only be used when there is validation errors, I want the browser to scroll to the bottom where the button is.
I already tried MaintainScrollPositionOnPostback but it doesn't work here since the validation rows are made visible upon clicking the button.