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

Minimum Property Issue

1 Answer 66 Views
This is a migrated thread and some comments may be shown as answers.
StevenDale asked on 31 Aug 2010, 05:31 PM

I have the latest build. 2010 Q2 SP1.
I have an issue wtih the RadNumericUpDown minimum property. Let's say the minimum property is set to 5 and the Value Property is bound to an object that has not been set yet. The control appears initially with a value of 0 and you cannot change it using the updown buttons since moving it up does not meet the minimum value.

Any suggestions?

Here is my xaml:

<ItemsControl ItemsSource="{Binding WorkingVentilatorOrder.VentilatorOrderParameterValueList_}">
            <StackPanel Visibility="{Binding EndTime, Converter={StaticResource NullVisibilityConverter}, ConverterParameter=visible}" Margin="10,5,10,5">
                <TextBlock Text="{Binding VentilatorParameter_.Name}" Style="{DynamicResource DialogTextBlockStyle}" />
                <telerik:RadNumericUpDown Value="{Binding Path=Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Minimum="{Binding VentilatorParameter_.MinValue, Converter={StaticResource NullValueConverter}, ConverterParameter=0}" Maximum="{Binding VentilatorParameter_.MaxValue, Converter={StaticResource NullValueConverter}, ConverterParameter=1000}" ValueFormat="Numeric" />

1 Answer, 1 is accepted

Sort by
answered on 31 Aug 2010, 05:38 PM
My apologies. It was my converter that was causing the problem.


Billy Jacobs
Asked by
Answers by
Share this question