asp.net - Remove anchor on postback -


Contrary to this question:

I have a problem on postback, this one anchor.

I'm starting in Browse.aspx; The user clicks a few clicks that takes them to an anchor on the page. Then they choose a new filter from DropDownList, so it refreshes back with filter on page 1, but the anchor stays in the URL so that they jump down the page.

Any postback url = "

Any thoughts?

Note, I am sending them with anchor with which to follow the method in the code behind it Does:

/ p>

  registered startupscript ("navigatio", "and litt; script type = 'text / javascript' & gt; document.htt = '# photo1 ';  ");  

I think that You must do a server.redirect (or skip the other client inject) The script that refreshes the page) When the user chooses a new filter without the anchor in the URL itself, the browser will not lose itself during the post-back.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -