Does anybody know why this would be happening?
I have an aspx page that has data populated by a repeater. For some reason a numeric sequence value is being appended to all element ids that are being created by .net. Examples of element ids.
However, the element names do not have the extra value appended:
The ids are assigned dynamically in the codebehind from an integer. ...and this does not happen when running locally, but is happening on our staging server. I am aware of the ClientIDMode if I wanted to not use the .net id auto naming convention, but it would require too many code changes if I changed that property now. I am running into wall as to why this is happening. Any ideas?
More info in case it is relevant. The staging server is running Windows Server 2003 with IIS 6
I did end up discovering a solution to this issue, it had to do with upgrading code from .net 2.0 to 4.0 and the default value of the ClientIDMode, which for .net 4.0 is
<pages clientIDMode="AutoID"> to the
System.Web node in the web.config resolved the issue.