Cast the sender argument to the control type and then access its properties.
There is a control array collection equivalent to the VB6 model, but AFAIK
it only works on windows forms.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/
"James McGivney" <(E-Mail Removed)> wrote in message
news:C015B154-40E1-436C-AF52-(E-Mail Removed)...
> I have a project in ASP.NET using C#. I have a large number of Button
Controls and a large number of ImageButton Controls. It would be convienent
if I could refer to a specific control by it's index number, in the same way
in which I used a Command Array in VB6. What is the method of assigning and
then obtaining a specific unique identified for a control ? Sample code or
reference articles would be appreciated.
> Thanks,
> Jim