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

Right align text using RadInputManager

1 Answer 52 Views
Input
This is a migrated thread and some comments may be shown as answers.
Scott R
Top achievements
Rank 1
Scott R asked on 15 Sep 2010, 08:45 PM
Is it possible to right-align text in a text box using RadInputManager with a NumericTextBoxSetting?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Sep 2010, 11:52 AM
Hi Scott,

Have you tried this?

<asp:TextBox  style="text-align:right" />


If you prefer to achieve the desired layout without making changes to the textboxes, but only to the RadInputManager, then use CSS classes:

<telerik:NumericTextBoxSetting EnabledCssClass="ar" HoveredCssClass="ar" FocusedCssClass="ar" InvalidCssClass="ar">

.ar
{
    text-align:right !important;
}


Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Input
Asked by
Scott R
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or