Popular Articles
Last viewed:
Recent comments
- jkll
13 hours 35 min ago - Thank You
1 day 13 hours ago - Another approach
3 days 14 hours ago - Issue
4 days 3 hours ago - thanks
4 days 14 hours ago - Calendar date time
4 days 20 hours ago - Nice Explanation
5 days 19 min ago - ramya
1 week 21 hours ago - thank a lot
1 week 1 day ago - Very useful, but...
1 week 4 days ago

Why not do it this way?
asp:Button ID="btnFinish" Text="Finish" OnClick="btnFinish_Click" OnClientClick="window.setTimeout('disableFinishButton()',0); return true" runat="server"
script type="text/javascript"
function disableFinishButton()
{
var arrInputs = document.getElementsByTagName('INPUT')
for (var i = 0; i < arrInputs.length; i++)
{
if (arrInputs[i].getAttribute('id') != null)
{
if (arrInputs[i].getAttribute('id').indexOf('btnFinish') > -1)
{
arrInputs[i].disabled = true
break
}
}
}
}
/script