获取应用程序中的漏洞更新
URL 已复制
共享 URL
漏洞
ColorPickers ChosenColor element client ID for client side code differs from server side.
上次发布: August 25, 2014
ArcGIS Server (.NET)
漏洞 ID 编号
NIM050364
已提交
October 28, 2009
上次修改时间
June 5, 2024
适用范围
ArcGIS Server (.NET)
找到的版本
9.3.1
操作系统
Windows OS
操作系统版本
XP
状态
Non-Reproducible
在开发团队测试过程中,此问题不可重现。 为问题分配此状态的可能原因包括:问题无法重现,或不再与软件的开发版本相关,但未安装特定修复程序来解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
This is not a bug but the intended control-naming design in
ASP.NET
.The reason for the appended ColorPickerPlus_ at client-side is done to ensure the uniqueness of the clientId of nested controls. Here are a couple of articles that go over this topic and discuss why client-side and server-side ids vary and how server-side ids could be passed to javascript:
http://msdn.microsoft.com/en-us/library/1d04y8ss%28v=VS.100%29.aspx
http://forums.asp.net/t/928744.aspx
http://encosia.com/2007/08/08/robust-aspnet-control-referencing-in-javascript/
http://stackoverflow.com/questions/1362338/how-do-i-pass-a-server-controls-actual-client-id-to-a-javascript-function
http://forums.asp.net/t/1395232.aspx
Please find attached the sample ColorPickerBug_Solution.zip provided in Nimbus, which now has two ways of accessing client-side controls via javascript, where clientids are passed via ScriptManager or direct onclick attribute assignment. This sample should answer the question for the customer.
重现步骤
漏洞 ID: NIM050364
软件:
ArcGIS Server (.NET)
当漏洞状态发生变化时获得通知
下载 Esri 支持应用程序
发现关于本主题的更多内容
Esri Community
搜索相关信息
Training
查找与此主题相关的培训
ArcGIS Ideas
探索想法并提供反馈
获取来自 ArcGIS 专家的帮助
联系技术支持部门
下载 Esri 支持应用程序
转至下载选项