I have some code that is disabling a button as soon as a click is done on it. However, for now, I have to include the URL of the button in the Add() method as I do not know how to detect that.
Is there a way in .NET to adjust the following line to it would be generic no matter the URL of the button?
loControlButton.Attributes.Add("onclick", "this.disabled=true; this.form.submit()")