Question: I have 3 `Buttons` in an aspx page. One for `Save as Draft`, 2nd for `Cancel` and 3rd for `submit`.
Now I want that whenever I click on any of the 3 `Buttons` then all the 3 `Buttons` should get disabled.

Answer: 
You can try like this:

```
private void ButtonDisable(Control ct)
{
    foreach(Control c in ct.Controls)
    {
        if (c is Button)
        {
           c.Enabled = false;;
        }
    }
}

```
Here is small and sweet answer.

Give common cssclass to all buttons and then use following code for OnClientClick="funDisableButtons()" event.

```
function funDisableButtons()
{
    $(".className").attr("disabled", true);
}

```