消息名称根据所选语言而变化 [英] message name change based on the language selected

查看:72
本文介绍了消息名称根据所选语言而变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何根据所选语言更改消息名称.

Hi,

How can i change the message name based on the language selected.

OnClientClick="return confirm('Are you certain you want to delete this product?');">


当我单击按钮时,我想根据语言更改消息

问候,
S.Inayat Basha.


I want to change the message based on language, when i am clicking the button

Regards,
S.Inayat Basha.

推荐答案

消息名称的含义是什么,如果您想破坏消息本身,请使用以下简单条件:
what do u mean by message name ,if you are thinking to chabge the message itself use simple condition as:
if(condtion)// check for the language
{
message1
}
else if(....


您可以将本地化与本地化资源一起使用:
http://msdn.microsoft.com/en-us/library/ms228208.aspx [ ^ ]

祝你好运!
You can use localization with localized resources:
http://msdn.microsoft.com/en-us/library/ms228208.aspx[^]

Good luck!


http://www.4guysfromrolla.com/articles/111506-1.aspx [^ ]

一个简单的ASP.NET服务器控件:消息框和确认框 [^ ]

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ConfirmButton/ConfirmButton.aspx [ ^ ]

一个简单的事件驱动确认框/Messege Box服务器控件 [ http://www.tizag.com/javascriptT/javascript-string-compare.php [ ^ ]
http://www.4guysfromrolla.com/articles/111506-1.aspx[^]

A Simple ASP.NET Server Control: Message Box & Confirmation Box[^]

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ConfirmButton/ConfirmButton.aspx[^]

A Simple Event Driven Confirmation Box / Messege Box Server Control[^]

http://www.tizag.com/javascriptT/javascript-string-compare.php[^]


这篇关于消息名称根据所选语言而变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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