xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.89k stars 877 forks source link

XamlParseException at runtime on DateTimePicker #811

Open xceedsoftware opened 7 years ago

xceedsoftware commented 7 years ago

LouisCPro[CodePlex]
Hi,

I'm implementing the DateTimePicker in my project, using the toolkit.

However it complies without any issue on the namescpace, when I start the project, I have a XamlParseException on the Xaml tag ltxctk:DateTimePickergt... telling me that it could not load the File or assembly Xceed....

I tried several things, such as deleting the XML namespace définitions in the XCeed Toolkit source project AssemblyInfo.cs, but wihtout any success....

Can someone help me ont this point ?

Thanks.

xceedsoftware commented 7 years ago

LouisCPro[CodePlex]
@BoucherS,

Knowing that I only had to play with the Datetimpicker, I decided to drop the Toolkit from the project, and use instead a pair of standard DatePicker and a DropDownloist for the time part as I only need to use precalibrated timesets on each 15 minutes of the day from 0:00AM to 23:59, without seconds.

It is finally more convinient to my purpose thant playing around DateTimePicker.

Thanks for the effort. I'll probably go back the the toolkit if I need more controls in the future....

xceedsoftware commented 7 years ago

BoucherS[CodePlex]
Adding the file Xceed.Wpf.Toolkit.dll from the binaries on this site as a reference to a new project will make the following sample work : Window x:Class=WpfApplication95.MainWindow xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:xctk=http://schemas.xceed.com/wpf/xaml/toolkit Title=MainWindow Height=350 Width=525 StackPanel xctk:DateTimePicker Value=2002/10/12
Width=150 Height=25/ TextBox Text=Tesxt / /StackPanel /Window

xceedsoftware commented 7 years ago

BoucherS[CodePlex]
Hi,

I cannot reproduce the issue using the binaries available on this site. Can you reproduce it on a small project ?

xceedsoftware commented 7 years ago

LouisCPro[CodePlex]
@emartin,

The only piece of code is provided in the screenshot. It is a xaml raw that instanciate the Datetimepicker object.... No code behind is related to this instance.

xceedsoftware commented 7 years ago

emartin[CodePlex]
Please provide a sample app that reproduce the problem using the standard toolkit binaries.