This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have an odd scenario that I am struggling to replicate that I was hoping you'd come across and had a solution to hand:) I am using the TimePicker something like: <ms:TimePicker Grid.Column="2" Grid.Row="4" Width="100" HorizontalAlignment="Left" IsMaskEnabled="True" TimeDisplayMode="TwentyFourHourTime" TimeSuggestionInterval="00:30:00" SelectedTime="{Binding StartTime, Mode=TwoWay}"/> I run the application and everything works fine. I change my config file so that my application using services/database from another server and now the TimePicker doesn't work properly. The list is populated with suggested values but when I select a time it is not displayed in the text although it is still selected in the list. Also, when I "save" my form the selected value in the list is persisted to the database so I know that the binding is working correctly. Also if I type in a value manually it is not setting the value. I change the config to run back on my local machine and everything works fine as expected. I know that I'm not giving you much to go on, but any ideas???!!!! |
|
|
Hello David I have seen a similar issue to what your describing here based on a bug in the themes. I have made a fix for this which you can download through the nightly build from tomorrow the 20th of August. If your still seeing issues when you change the config file, then please send us a small sample and the differences in the config files to support@mindscape.co.nz. If you do send us a sample, remember not to send any of the binaries. Regards |
|
|
I'm sure that this is a daft question, but presumably the update is to WPF Elements? If so, where is the config file that I need to replace? |
|
|
Indeed this is an update to WPF Elements 3.0. The fix simply involved a modification to the standard themes that we provide. Let us know if the issue still remains. Cheers |
|
|
Jason, I have just applied the currently nightly (27th August) and the problem still remains. Any other ideas? |
|
|
Hello David. Are you able to send us a small repro of this issue? You can send us a sample and the difference of the config files to mindscape@support.co.nz. Remember to remove the binaries before sending it. Another thing that you could check is to see if the issue remains if you don't use the mask feature. Regards |
|
|
Make that support@mindscape.co.nz. - Jason |
|
|
I have managed to confirm that the problem does not occur when run through the IDE, but as soon as you run the EXE the value is not displayed in the timepicker. Hoping that the repro I just emailed to support@mindscape.co.nz helps to get to the bottom of this.
|
|
|
I can confirm that if the IsMaskEnabled is not set as True, the problem is not there. I would however still like the IsMaskEnabled feature. Thanks, |
|
|
Hello David, This appears to be an interop issue between .NET 4.0 and .NET 3.x. Is it an option for you to change the target platform for your project to .NET 3.5 (or .NET 3.5 Client Profile), or do you need .NET 4.0 functionality? We will continue to investigate this issue but we do not yet fully understand the nature of the problem, so targeting .NET 3.5 will be the quickest workaround if that is an option for you. |
|
|
I'm afraid that changing the target framework is not an option. Please keep me posted with any progress you make |
|
|
There'll be a candidate fix in tonight's nightly build (available around 1200 UTC). This fixes the disappearing numbers bug in your repro project -- we are aware of a related issue but we believe this will not affect you. Let us know if you still see problems. |
|
|
All looking good in the 9th Dec nightly. Thanks very much. |
|