If you're trying to do this from server side code, it's as simple as calling
InsertButton.Enabled = false;
Now if you're trying to do this from JavaScript, you'd want to do something like this (assuming you're using jQuery)
<%= InsertButton.ClientID %>.attr('disabled','disabled');
<%= InsertButton.ClientID %>.removeAttr('disabled');