This is a migrated thread and some comments may be shown as answers.

disable RadButton

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sigma
Top achievements
Rank 1
Sigma asked on 31 Aug 2012, 06:56 AM
Hi,

How can I disable RadButton 10 seconds after the PageLoad?

Sigma.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 31 Aug 2012, 09:09 AM
Hi,

Try the following javascript to disable RadButton after 10 seconds.
JS:
function pageLoad()
{
 var btn = $find("<%= RadButton1.ClientID %>");
 window.setTimeout(function () { btn.set_enabled(false); }, 10000);
}

Thanks,
Princy.
Tags
General Discussions
Asked by
Sigma
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or