RadTimePicker

2 posts, 1 answers
  1. Amit
    Amit avatar
    5 posts
    Member since:
    Feb 2012

    Posted 06 Feb 2012 Link to this post

    I want to change the back color of telerik radTimePicker after disabled in javascript
    How is it possible?
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 06 Feb 2012 Link to this post

    Hello,

    Try the following javascript.
    JS:
    function OnClientClick()
       {
          var RadTimePicker1 = $find("<%= RadTimePicker1.ClientID %>");
          var dateinput = RadTimePicker1.get_dateInput();
          RadTimePicker1.set_enabled(false);
          dateinput.get_styles().DisabledStyle[0] += "background:red";
          dateinput.updateCssClass();
          return false;
     }

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top