detailsview cancel history.back() asp.net

P

pbr

Using code-behind is it possible to get the Cancel button in a detailsview
to simply go back to the previous page? i.e. use "history.back();return
false;"
 
P

pbr

Using code-behind is it possible to get the Cancel button in a detailsview
to simply go back to the previous page? i.e. use "history.back();return
false;"

Found the solution, convert the command field to a template, then I can add
an OnClientClick to the Cancel button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top