Hi iammann,
Use CSS to disable the button.
For the button you want to disable add the attribute disabled to it.
When not required remove the attribute disabled.
HTML
<asp:Button ID="btnAdd" Text="Add" runat="server" OnClick="Add" disabled />
<asp:Button ID="btnUpdate" Text="Update" runat="server" OnClick="Update" />
<asp:Button ID="btnDelete" Text="Delete" runat="server" OnClick="Delete" disabled />
Demos
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
button:disabled, button[disabled]
{
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}
</style>
</head>
<body>
<input type="submit" name="btnAdd" value="Add" id="btnAdd" disabled="" />
<input type="submit" name="btnUpdate" value="Update" id="btnUpdate" />
<input type="submit" name="btnDelete" value="Delete" id="btnDelete" disabled="" />
</body>
</html>
Demo