Is there a way to control how .Net sets the Name
and ID
property of my controls? I have some radio buttons for which I need the name to be the same.
Doesn't work quite like that in .net. They need to be uniquely named because that's how they correlate the radio button back to viewstate. I would ask why you need them to be the same name? If it's because you want the user to only be able to select 1 item out of x, then you want to use the GroupName property.