I'm having trouble with the RadNumericUpDown control. I was able to boil it down to the following.
1. Create a Windows Application project
2. Place a Element Host in the default form (Form1)
3. Create a WPF UserControl.
4. Place a RadNumericUpDown control in a UserControl:
5. Place that UserControl in the Element Host
6. Run the program.
7. Attempt to click the up or down button in the RadNumericUpDown control.
8. Watch NullReferenceException occur.
This works fine when run in a native WPF app, but fails when hosted in Winforms.
I've tried this with 2009Q2 and 2009Q3 builds.
I'm currently on the trial for RadControls, and this is pretty much preventing me from completing my evaluation and ultimately purchasing the product.
1. Create a Windows Application project
2. Place a Element Host in the default form (Form1)
3. Create a WPF UserControl.
4. Place a RadNumericUpDown control in a UserControl:
<UserControl x:Class="UserControl1" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
Height="300" Width="300"> |
<Grid> |
<Grid.RowDefinitions> |
<RowDefinition Height="Auto"/> |
</Grid.RowDefinitions> |
<telerik:RadNumericUpDown Maximum="100" Minimum="0" IsInteger="True"/> |
</Grid> |
</UserControl> |
5. Place that UserControl in the Element Host
6. Run the program.
7. Attempt to click the up or down button in the RadNumericUpDown control.
8. Watch NullReferenceException occur.
This works fine when run in a native WPF app, but fails when hosted in Winforms.
I've tried this with 2009Q2 and 2009Q3 builds.
I'm currently on the trial for RadControls, and this is pretty much preventing me from completing my evaluation and ultimately purchasing the product.