This is a migrated thread and some comments may be shown as answers.

Error since new Upgrade to Q1 13

3 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matthias Bibo
Top achievements
Rank 1
Matthias Bibo asked on 29 Apr 2013, 03:55 PM
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)}

   

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 30 Apr 2013, 01:56 PM
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.

0
Matthias Bibo
Top achievements
Rank 1
answered on 30 Apr 2013, 02:34 PM
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.
0
Konstantina
Telerik team
answered on 02 May 2013, 11:35 AM
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.

Tags
General Discussions
Asked by
Matthias Bibo
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Matthias Bibo
Top achievements
Rank 1
Konstantina
Telerik team
Share this question
or