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

[Solved] RadNumericTextbox ignores negative style when read only

1 Answer 169 Views
Input
This is a migrated thread and some comments may be shown as answers.
DonKitchen
Top achievements
Rank 1
DonKitchen asked on 15 Apr 2009, 03:24 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 15 Apr 2009, 03:40 PM
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.
Tags
Input
Asked by
DonKitchen
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or