Click to See Complete Forum and Search --> : asp.net - setting web control id programatically


lcscne
01-21-2005, 03:13 PM
is it possible to set a web control's id programatically?

for instance?


Dim myControlId As String

myControlId = "idWhatever"
.
.
.
.
<asp:button id='<%# myControlId%>' ....

buntine
01-21-2005, 09:22 PM
Try it...

Please post all your .NET questions in the .NET forum. ;)

Regards.