Hi guys,

 

If you also have the requirement to programatically go to an anchor location, you can use the following line of code

I had to use this, to go down in the page after the event page submit, to display automatically the search results and avoid the users scroll down to see the search results.

ClientScript.RegisterStartupScript(this.GetType(), "hash", "location.hash = '#ANCHORNAME';", true);

You should have at some point in your html code an anchor called ANCHORNAME

Show Buttons
Hide Buttons

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.