RadNumericTextbox ignores negative style when read only

2 posts, 0 answers
  1. DonKitchen
    DonKitchen avatar
    104 posts
    Member since:
    Jul 2007

    Posted 15 Apr 2009 Link to this post

    I've found that my RadNumericTextbox won't honor the property I set for my NegativeStyle-ForColor when I declaratively set the read only property to true.  Also, in case it matters, I am manipulating the value client side when I update it from positive to negative.

    Is this a known issue?
  2. Dimo
    Admin
    Dimo avatar
    8450 posts

    Posted 15 Apr 2009 Link to this post

    Hi DonKitchen,

    The observed behavior is expected - the readonly style takes precedence over the negative style. You can change the readonly style manually on the client and reapply it, as demonstrated in this help article:

    http://www.telerik.com/help/aspnet-ajax/input_clientsidebasics.html

    (you need to use sender.get_styles().ReadOnlyStyle[0] )

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