(Scott Vierregger)
1/21/2003 10:08:00 PM
When I place my userControl on an ASPX page and render the page to the
browser (IE 6), my textbox field names become something like:
<input name="SearchControl1:hsCode" type="text"
id="SearchControl1_hsCode" />
Why does ASP.Net render the ID field with an underscore and the Name
field with a colon? I can't seem to reference the field from
Javascript because it has a colon in it. I have to push a value into
this field from a popup window so I need Javascript to be able to see
it.
If you know of a workaround, please let me know. Any advice is
greatly appreciated.
Scott