disable RadButton

2 posts, 1 answers
  1. Sigma
    Sigma avatar
    87 posts
    Member since:
    Apr 2012

    Posted 31 Aug 2012 Link to this post

    Hi,

    How can I disable RadButton 10 seconds after the PageLoad?

    Sigma.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 31 Aug 2012 Link to this post

    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.
Back to Top