It mangles the name to ensure all the control names are unique.
One solution is to generate an array of names on the server by
checking the ClientID property of each DropDownList and sending the
array to the client for JavaScript to use with
Page.RegisterArrayDeclaration. You could gather the names to use
during the ItemDataBound event of the Repeater.
HTH,
--
Scott
http://www.OdeToCode.com
On 27 Aug 2004 12:07:33 -0700,
je******@yahoo.com (JazzLover) wrote:
We have some javascript code that depends on the name of the
dropdownlists to be the same as it parses them in an array, but within
a repeater the webcontrols generate a uniqueid with ctl0: and some
other junk prepended. Is there anyway we can prevent the dropdownlist
from writing out its mangled name?