"Width Must be Non-Negative" when "F2" function key is pressed

5 posts, 0 answers
  1. Durga
    Durga avatar
    2 posts
    Member since:
    Jul 2016

    Posted 30 Dec 2016 Link to this post

    Hi,

    I have Radcontrols for WPF Q1 2011 installed and I am using ScheduleView control in my application. I implemented Function key bindings (other than F2 key) on WPF window. On running the application, all Function keys work as expected but when I press F2 key followed by any other Function key, it gives me the error "Width Must be Non-Negative". The error popup is cascaded to infinite loop which as the application to crash.

    I also found this is the issue with control and it has been fixed in Radcontrols for WPF Q2 2013. My application is not compatible with latest version, got lots of build errors. Please reply how can I make my application compatible with latest version? And how can I download the Radcontrols for WPF Q2 2013 version?

  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1158 posts

    Posted 02 Jan Link to this post

    Hi,

    To ease the migration path to newer versions, we provide support resources for changes and backwards compatibility for all controls. Here are the articles for RadScheduleView: "Changes", "Backwards Compatibility". If you encounter build errors related to the other controls, you can find identical articles in the corresponding subsections.
    Generally, we recommend the latest official service pack release as the most appropriate stable upgrade version. Looking through your account details, I noticed that the current license was activated during 2016, so that Q2 2013 is not an active option. Can you please confirm whether you want to migrate to the latest version, or to Q2 2013, which we will enable for you if it is needed?

    Regards,
    Ivan Ivanov
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Durga
    Durga avatar
    2 posts
    Member since:
    Jul 2016

    Posted 04 Jan in reply to Ivan Ivanov Link to this post

    Thanks for your reply. I want to migrate to the latest version. I have one custom DragDropBehavior class that inherits DefaultDragDropBehavior class. What is the equivalent class for DefaultDragDropBehavior  in latest version? Also is there any converter tool available for WPF that can help to convert controls in my application to their equivalent controls in latest version?
  4. Tanya
    Admin
    Tanya avatar
    415 posts

    Posted 06 Jan Link to this post

    Hi Durga,

    The class has been renamed and you can use it with its new name - ScheduleViewDragDropBehavior

    For upgrading the version of Telerik controls you are using, you can take advantage of the Project Upgrade Wizard. This tool will download the new version of the suite and replace the references in the specified projects. In its latest version, there is also included integration with the Upgrade API Analyzer tool through the Compatibility button. The analyzer checks the code you are using and notifies you if there are any changes that affect your project.

    I hope this information is helpful.

    Regards,
    Tanya
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  5. Tanya
    Admin
    Tanya avatar
    415 posts

    Posted 06 Jan Link to this post

    Hi Durga,

    Just wanted to let you know that we are expecting our latest release to be available for download in a couple of weeks. If you would like, you can wait to upgrade directly to the new version.

    All the new features and bug fixes included in each version you can find in the release notes.

    Regards,
    Tanya
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top