Error since new Upgrade to Q1 13

4 posts, 0 answers
  1. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 29 Apr 2013 Link to this post

    Hello,

    since the last upgrade to Q1.13, we encounter an error in one dialog, but only in out-of-browser mode,in in-browser mode everything is running smooth. The stacktrace gives me only internal code, so I cannot track the error down.
    It happens in one frame/gridpart of the dialog, when the focus changed or leaves. There is no focushandler (OnFocus..) attached from us, and we do not influence the focus.
    I does not happen in other dialog/usercontrols, only in one (our biggest) and only in one subgrid. 

    {System.InvalidOperationException: "Reference" ist kein gültiges visuelles "DependencyObject".
    bei System.Windows.Window.GetWindow(DependencyObject dependencyObject)
    bei Telerik.Windows.Controls.FocusManagerHelper.GetFocusedElement(DependencyObject element)
    bei Telerik.Windows.Controls.InternalWindow.MultiplePopupWindowHost.BringToFront()
    bei Telerik.Windows.Controls.WindowBase.OnGotFocus(RoutedEventArgs e)
    bei Telerik.Windows.Controls.RadWindow.OnGotFocus(RoutedEventArgs e)
    bei System.Windows.Controls.Control.OnGotFocus(Control ctrl, EventArgs e)
    bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)}

       
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 30 Apr 2013 Link to this post

    Hello,

    I am afraid that we are not aware of what would cause such an exception with the RadGridView. In the Exception message I see the problem OnGotFocus of the RadWindow. Have you placed the GridView into a RadWindow? What is the previous version you upgraded from?

    It would be very helpful if you could isolate the issue in a demo project. You can check this blog post for a reference on how to isolate a problem in a sample project. 

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 30 Apr 2013 Link to this post

    Hello,

    it has nothing to do with the RadGridView, it happens on changing the Focus (e.g. closing a Radwindow, clicking on a button.)
    With 'Grid' I meant the standard layouting grid not the RadGridView.
    We also have no idea and I cannot track the problem.
    I meanwhile I can say that it does not only happen in the one mentioned dialog, it happens in many dialogs on closing. 
    In the special dialog, it happens also, when when clicking around (e.g. from a RadComboBox to a RadButton or into a RadTextbox).

    We get dozens of errors in minutes, the application is unusable (I could suppress the error in the Application unhandled exceptionhander , but this is not the way to go).
    As said, this happens ONLY in out-of-browser mode, in-browser mode everything is fine.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 02 May 2013 Link to this post

    Hi,

    We have addressed such issue lately. Could you please try with the latest internal build available and let us know if you still experience the issue.

    Kind regards,
    Konstantina
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top