The Toolbar Collection Editor removes localization info. for toolbar items added in the source view in VS.NET.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM013579
已提交
December 11, 2007
上次修改时间
April 28, 2025
适用范围
No Product Found
找到的版本
9.2
编程语言
C#
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
The localization has to be done at runtime through GetLocalResourceObject() method if (!Page.IsCallback && !Page.IsPostBack) { for (int i = 0; i < Toolbar1.ToolbarItems.Count; i++) { ToolbarItem titem = Toolbar1.ToolbarItems[i]; if (titem is Tool) { Tool tl = (Tool)titem; tl.ToolTip = GetLocalResourceObject(tl.Name + "_" + "ToolTip") as string; } } }