I used link button for delete and and showing confirmation message to show whether sure to delete as
<asp:LinkButton ID="lnkbtnDelete" runat="server" OnClick="lnkbtnDelete_Click" OnClientClick="return confirm('Are you sure to delete this record?');"></asp:LinkButton>
Here in my localhost,it shows message as "Are you sure to delete this record". But in live server it shows as "Are you sure to delete?". What is the reason for this change,help to solve it
The only two reasons could be:
1. The deployment of the page/site was not done successfully, i.e., there is still the old version of the file on the server.
2. Your browser is accessing it's cache for this page, so you need to clear the browser cache.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)