确认消息在localhost和live url中显示不同 [英] Confirmation messages shows different in localhost and live url

查看:90
本文介绍了确认消息在localhost和live url中显示不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..

我使用链接按钮进行删除,并显示确认消息以显示是否确定删除为

Hi..
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>





在我的localhost中,它会显示您确定要删除此记录的消息。但在实时服务器中,它显示为你确定要删除吗?。这个改变的原因是什么,有助于解决它



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

推荐答案

唯一的两个原因可能是:



1.页面/站点的部署未成功完成,即服务器上仍然存在旧版本的文件。



OR



2.您的浏览器正在访问此页面的缓存,因此您需要清除浏览器缓存。





问候

Pawan
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.

OR

2. Your browser is accessing it''s cache for this page, so you need to clear the browser cache.


Regards
Pawan


这篇关于确认消息在localhost和live url中显示不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆