Redirecting To New Page Asp.net
I am having trouble trying to redirect to a new page after the button has been clicked. But this button also saves my datatable into an excel file. I want it to be able to save and
Solution 1:
Your OnClientClick
should be in the following format.
OnClientClick="needToConfirm(); return false"
If this doesn't work there is an error in your JavaScript which is causing your c# code not to fire.
Post a Comment for "Redirecting To New Page Asp.net"