I have a web form with several RadTextBoxes. One is shown here.
<
telerik:RadNumericTextBox
ID
=
"tbHospitalPerVisit"
runat
=
"server"
MaxLength
=
"8"
Width
=
"115px"
ReadOnlyStyle-CssClass
=
"ReadonlyDataEntry"
EnabledStyle-HorizontalAlign
=
"Right"
DisabledStyle-HorizontalAlign
=
"Right"
>
<
NumberFormat
ZeroPattern
=
"n"
></
NumberFormat
>
<
ReadOnlyStyle
CssClass
=
"ReadonlyDataEntry"
></
ReadOnlyStyle
>
</
telerik:RadNumericTextBox
>
The EnabledStyle-HorizontalAlign property right aligns the text in the control. When the page first loads I see the control formatted with the text right aligned. On postback, however, the control is visible for a brief moment without the right alignment and then the text jumps to the right as the alignment is applied.
My form has about 50 controls for collecting financial information. Immagine seing data in all these controls jump from the left to the right when you save.
How do I get the styling to be applied so that I do not see the control first displayed without the right alignment and then the alignment is applied?
Thanks!
Sean Severson