Exception from WindowPopupWindowImpl.Move(...)

2 posts, 0 answers
  1. Sergey Karpov
    Sergey Karpov avatar
    1 posts
    Member since:
    Jan 2010

    Posted 23 Feb 2010 Link to this post


    Attempt to set .Left and .Top property on RadWindow produces exception.

    I’m trying to open modal RadWindow at the specific location on screen. The WindowStartupLocation is set to “Manual”.  The code runs like this :


    windowAdjustment.Left = _rightClickPoint.X;

    windowAdjustment.Top = _rightClickPoint.Y;



    It works perfectly the first time. But setting .Left property the second time causes exception “{“Object reference not set to an instance of an object"}            System.Exception {System.NullReferenceException}”

    The top of the stack trace :


    at Telerik.Windows.Controls.RadWindowPopup.WindowPopupWindowFactory.WindowPopupWindowImpl.Move(Double left, Double top) in c:\Builds\...\Navigation\Window\WindowPopup\WindowPopupWindowImpl.cs:line 39

       at Telerik.Windows.Controls.RadWindow.Move(Double x, Double y) in c:\Builds\...\Navigation\Window\RadWindow.cs:line 2028

       at Telerik.Windows.Controls.RadWindow.OnLeftChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) in c:\Builds\...\Navigation\Window\RadWindow.cs:line 1713


    Any ideas anyone ?




  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 24 Feb 2010 Link to this post

    Hi Sergey,

     Unfortunately this is an issue in the implementation of the RadWindow control for WPF desktop application. The problem will be fixed for the Q1 released. For now I could suggest you to create new window instead of reusing the old one. Hope this is good for you. If not, please let us know.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top