Unique IDs not yielded by INamingContainer

Unique IDs not yielded by INamingContainer

am 07.04.2008 20:31:13 von DanWeaver

I have a user control named tabletuc

Partial Class tabletuc
Inherits System.Web.UI.UserControl
Implements System.Web.UI.INamingContainer
End Class

It is referred to as so:

DEFAULT (main page) HTML











As you can see from the web user control definition above, I have
implemented INamingContainer
in the user control (and I have tried putting this code in the default
aspx page too (and instead)) yet
I get matching ids for unique usercontrols' child controls as shown
below-

GENERATED SOURCE CODE





(the input and img child controls have the same id).
Within the page I would like every control to have a unique ID,
not just unique within a div or user control.

What am I doing wrong? How can I fix it?