Click here to Skip to main content
15,613,470 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Please send me the appropriate code that matches the above question..
Answers needed using Global.asax page
Kornfeld Eliyahu Peter 28-Dec-15 8:22am    
You forgot to add, that it is urgent!!!
Hemant Singh Rautela 28-Dec-15 8:25am    
Just use rewrite. search about how to do Rewriting in ;-)
Anurag Gandhi 28-Dec-15 8:29am    
he mean Url rewrite.
Hemant Singh Rautela 28-Dec-15 8:31am    
Ops..! my mistake. :-)

Yes it is URL Rewriting.
ZurdoDev 28-Dec-15 8:31am    
Why? And where are you stuck?

1 solution

This code can change URL in browser without reloading page. *Browser must support HTML5.

If your page is yourPage.aspx and you want to change it to yourPage.html use below code.

$( document ).ready(function() {
    history.pushState("","", "./yourPage.html");
Share this answer
aarif moh shaikh 29-Dec-15 4:49am    
Good. It's working. +5
Pravin.Bhosale01 29-Dec-15 6:23am    
Check and make sure with all supported browsers by your project.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900