Click here to Skip to main content
15,936,337 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
code for back button in asp.net and button will go on back
Posted
Comments
abbaspirmoradi 20-Nov-13 11:49am    
no one give you code in codeproject. you try and we help you dear Rajnish.
Thanks7872 20-Nov-13 11:51am    
No one can understand this question except you. What are you talking about? Read this question again and think does it contain any useful info in order to provide solution?
Rajnish D mishra 20-Nov-13 12:02pm    
i got it..
thatraja 20-Nov-13 12:27pm    
got what?

1 solution

An easy way is to use JavaScript. There are a couple of options you can use:

JavaScript
window.history.back();

or 

window.history.back(1);

or 

window.history.go(-1);
 
Share this answer
 

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