laptop and a wrench

Erro

ColorPickers ChosenColor element client ID for client side code differs from server side.

Última Publicação: August 25, 2014 ArcGIS Server (.NET)
Número de ID do Erro NIM050364
EnviadoOctober 28, 2009
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Server (.NET)
Versão encontrada9.3.1
Sistema OperacionalWindows OS
Versão do Sistema OperacionalXP
StatusNon-Reproducible

Informações Adicionais

No Public Explanation

Solução Provisória

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.aspxhttp://forums.asp.net/t/928744.aspxhttp://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-functionhttp://forums.asp.net/t/1395232.aspxPlease 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.

Etapas para Reproduzir

ID do Erro: NIM050364

Software:

  • ArcGIS Server (.NET)

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download