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

CustomUnit property does nothing

3 Answers 16 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Veteran
Iron
Patrick asked on 16 Dec 2013, 03:55 PM
Hello,
create a new Silverlight application and replace MainPage.xaml with:
<UserControl
  x:Class="SilverlightApplication1.MainPage"
  mc:Ignorable="d"
  d:DesignHeight="300" d:DesignWidth="400">
 
  <Grid x:Name="LayoutRoot"
        Background="White"
        HorizontalAlignment="Left"
        Margin="5"
        VerticalAlignment="Top">
    <tk:RadNumericUpDown CustomUnit="abc" />
  </Grid>
</UserControl>

Then run the application: the abc text is not displayed.

Patrick

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 17 Dec 2013, 01:31 PM
Hello Patrick,

The NumericUpDown should lose the focus in order to add the CustomUnit to the value. Try to add a single TextBox below the NumericUpDown, type a value and click inside the text box - CustomUnit should appear. When click back into the input field of the NumericUpDown the CustomUnit will hide again while editing the value.

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Patrick
Top achievements
Rank 2
Veteran
Iron
answered on 17 Dec 2013, 03:09 PM
Hello Kalin,
it's a pity that we can't see the unit while editing.
Patrick
0
Kalin
Telerik team
answered on 18 Dec 2013, 10:15 AM
Hi Patrick,

The NumericUpDown is designed that way to hide the CustomUnit while typing and behavior cannot be overridden. If you have any other question, don't hesitate to contact us.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
NumericUpDown
Asked by
Patrick
Top achievements
Rank 2
Veteran
Iron
Answers by
Kalin
Telerik team
Patrick
Top achievements
Rank 2
Veteran
Iron
Share this question
or