ReadOnly Property

6 posts, 1 answers
  1. Dandan
    Dandan avatar
    17 posts
    Member since:
    Mar 2009

    Posted 04 Jun 2009 Link to this post

    Hello,

    I use RadTimePicker and set its "IsReadOnly" property to be "True" and "IsEnabled" property to be "False". I expect to see the time text (in the text box) in grey, like readOnly , but it doesn't....

    Can I change the text color to be grey when the the control is readOnly?

    Thanks!
  2. Answer
    Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 08 Jun 2009 Link to this post

    Hello Dandan,

    Currently there are certain issues with the look of the disabled and IsReadOnly states. We will do our best to fix all themes for Q2 and get the proper look for the Disabled and ReadOnly states.

    Currently you can work around this by modifying the template for the Disabled state. You can do it by editing the RadTimepicker template as shown in the help.

    Hope this helps.

    All the best,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Dandan
    Dandan avatar
    17 posts
    Member since:
    Mar 2009

    Posted 09 Jun 2009 Link to this post

    THANKS!
  5. Tim
    Tim avatar
    169 posts
    Member since:
    Apr 2008

    Posted 21 Jul 2009 Link to this post

    I assume the same holds true and is not fixed for Q2-2009 for IsEnabled=false (I did not change readonly)?  I.e., this is still broken and a known bug?

    I.e., when the CheckboxBinder is unchecked, the RadDatePicker goes gray and inactive while the RadTimePicker does not go gray - although it is disabled.

    <T:RadDatePicker x:Name="StartDate" Grid.Row="1" Grid.Column="1"  
      IsEnabled="{Binding Path=IsChecked, Mode=TwoWay, Source={StaticResource CheckboxBinder}}"/> 
    <T:RadTimePicker x:Name="SynchronizationStartTime" Grid.Row="2" Grid.Column="1" 
      IsEnabled="{Binding Path=IsChecked, Mode=TwoWay, Source={StaticResource CheckboxBinder}}"/> 




    Tim

  6. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 23 Jul 2009 Link to this post

    Hi Tim,

    Thanks for your report.

    For the upcoming SP1 release we will add equal disabled states for the Date and Time pickers. The SP1 is due next month. I hope that this timeframe is acceptable for you.

    Greetings,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Tim
    Tim avatar
    169 posts
    Member since:
    Apr 2008

    Posted 23 Jul 2009 Link to this post

    August will be fine.  Thank you for your reply.

    Tim

Back to Top
DevCraft banner