When I bind a server control to a repeater it renders one copy of this
control for each item in the datasource collection.
By doing this it changes the name of the dynamically created controls, to
ensure each name is unique.

My problem is that the repeater control has a proprietary pattern to
gererate this names and I'd like to use a pattern that's standard for my
applications (and to my client-side scripts).

I got to partially change the name generation by creating a control that
inherits from the repeater and overrinding the UniqueID property and the
InitializeItem method. But it only changes the contents of the name
generation, not the pattern itself.

Here is an example:

Putting a ASP:LABEL control into the repeater's ItemTemplate section and
naming it "lblREP", it renders like the following:

<span id="repFM__ctl2_lblREP">Test REP Label</span>
<span id="repFM__ctl3_lblREP">Test REP Label</span>
....

This name pattern has 3 basic sections: The name of the repeater, the
constant "ctl" followed by an enumerator and the control's original name. By
doing like I told, I can only change the contents of each one of this
sections, but not change the pattern

I would like it to render like this:
<span id="lblREP2">Test REP Label</span>
<span id="lblREP3">Test REP Label</span>

Anyone has any ideia of what I need to do to get this kind of result?

Thanks in advance!