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

problem with RadNumericTextBox

1 Answer 57 Views
Input
This is a migrated thread and some comments may be shown as answers.
Paul Evers
Top achievements
Rank 2
Paul Evers asked on 04 Apr 2012, 11:05 AM
I am using RadNumericTextBox with skin Metro

The style is changed to:
.riDisplay
{
    border-width: 1px !important;
    color: #6384B5 !important;
    border-color: #A8A8A8 !important;
    *height: auto !important;
}
.InputField
{
    width: 85px !important;
}

When I display this in IE9 (or Chrome, FireFox) this will be displayed correct.
When I turn on compatibilitymode in IE9 the textbox is messed up.
When I select the rendered inputfieldbox the used style looks different. (see attached picture): the inputfieldbox is wider than the displaybox.
The height of the displaybox was also larger but I could fix that by adding the style *heightauto !important; 

How can I fix the width of the inputfieldbox?

Paul

1 Answer, 1 is accepted

Sort by
0
Accepted
Richard
Top achievements
Rank 1
answered on 06 Apr 2012, 02:29 PM
Paul:

You did not specify what version of the RadControls that you're using here. But, if you're using the most current 2012.1.215.40 version, this could have something to do with the newly introduced SingleInputRendering functionality.

Take a look at the Input/First Look online demo and toggle the "EnableSingleInputRendering" check box. The property is set to true by default in the new build. You can try setting it to false to see if this effects your display.

Hope this helps!
Tags
Input
Asked by
Paul Evers
Top achievements
Rank 2
Answers by
Richard
Top achievements
Rank 1
Share this question
or