Hi @nickCroat ,
According to your descriptions,I suggest you could get ID or ClientID just like this:
Public sub subLanguage_onClick() Handles gb.onclick, de.onclick, hr.onclick, cz.onclick, hu.onclick
Dim ID As String = (CType(sender, ImageButton)).ID
Dim CLientID As String = (CType(sender, ImageButton)).ClientID
End Sub
Note: Every controls have ID, but if you have Repeater control or Updatepanel control,the ID is a long string,so you need ClientID.
Best regards,
Yijing Sun
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.