After searching over the telerik docs and then searching the internet I found a forum response indication the the method below was a way to set decimaldigits to zero for the RadNumericUpDown control (does it have to be this hard?). The code below compiles ok but then gets a parser error when I try to run it. It points to the xaml close /> on the globalication:NumberFormatInfo line.
The this the best way to do it? and what's wrong with this Xaml:
Thanks,
Gary
The this the best way to do it? and what's wrong with this Xaml:
Thanks,
Gary
<Grid x:Name="LayoutRoot">
<Grid.Resources>
<globalization:NumberFormatInfo x:Key="NumberFormatInfo" NumberDecimalDigits="0" />
</Grid.Resources>
Later on I have the following definition...
<telerikInput:RadNumericUpDown ValueFormat="Numeric" NumberFormatInfo="{StaticResource NumberFormatInfo}" x:Name="h1ud" ValueChanged="h1ud_ValueChanged" Width="25" Height="auto" Grid.Row="1" Grid.Column="2"/>