DateTimeEditBox: ValueChanged="DateTimeEditBox_ValueChanged"

Editors for WPF Forum

Posted 9 years ago by Crile Carvey
Version: 10.2.0533
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
This code raises an error ("An unknown error occurred while trying to navigate to event handler") in VS2010 when right-clicking on "DateTimeEditBox_ValueChanged" and choosing "navigate to event handler"

<ActiproEditors:DateTimeEditBox Grid.Row="1" Grid.Column="1"
Value ="{Binding ElementName=WhatsImportantForUser1, Path=StopDate}"

In addition, if I manually add the event handler in code (StopDateEditor.ValueChanged += new EventHandler<ActiproSoftware.Windows.PropertyChangedRoutedEventArgs<DateTime?>>(DateEditor_ValueChanged);), and then manually paste (ValueChanged="DateEditor_ValueChanged") into the XAML, it fails at run time with a binding error.

Something is wrong... we have a workaround by using code, but it is uglier than straight declarative XMAL.


[Modified at 12/28/2010 11:43 AM]

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Crile,

This is a known issue with the Visual Studio designer, which has to do with the use of generic classes/event arguments. We reported this to Microsoft last year, but it appears to have fallen through the cracks. I've made an official connect report here:

Actipro Software Support

The latest build of this product (v2019.1 build 0684) was released 14 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.