Hey there, I am having an issue with my asp button that I created using the code below:
<asp:Button ID="btnBack" OnClientClick='javascript:history.back()' runat="server" Text="back">
</asp:Button>
Strangely, the javascript function to go back in history is not working with this button. However, when I use alert(), it works fine. Any idea why the history back functionality is not working?