javascript - Retain anchor after postback in asp.net -


I am using a similar content on one of my pages. Naturally, anchor ("#TortTab") information is lost after postback. This is annoying because when you press a button on a certain tab, you always end up on the first tab after the postback.

What is the best way to avoid this information from a postback?

Execute your postback as an AJAX request, or add some javascript to the form that Send anchor values ​​to the server

any such example

   

Then you will need a conference to bring the client back and take appropriate action.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -