This question is locked. New answers and comments are not allowed.
OK - I'm going to do my best to explain this. I have just upgraded to 2009.3.1103.1030 from 2009.2.925.1030. We use Prism/MVVM. I have a shell app with a radtabcontrol as a region adapter. I then have another project with an edit view which is loaded into the shell region adapter. The edti view has an edit area on the top (textblocks and textboxes), a radgridview on the bottom (in another radtabcontrol) and Save, Cancel buttons on the bottom. The cancel button triggers an event which is monitored by a class in the shell app. When the event is received, the shell app gets the view model assocaited with the view to check for changes. If there are changes the user is prompted to discard changes by doing a MessageBox.Show. If the user "OKs" the discard then the view is closed and removed from the shell tab control - at least that is what used to happen when using the Q2 release.
If there are no changes and the message box is not displayed everything works as expected.
If there are changes, and the message box is displayed, and I respond using the keyboard, everything works as expected.
If the message box is displayed and I use the mouse to click on the OK and the OK button is over any part of the grid then I get the exception below.
If the message box is displayed and I move it so that the OK button is NOT over any part of the grid, everything works as expected.
Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.ArgumentException: Value does not fall within the expected range.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
at MS.Internal.XcpImports.MouseEventArgs_GetPosition(MouseEventArgs args, UIElement relativeTo)
at System.Windows.Input.MouseEventArgs.GetPosition(UIElement relativeTo)
at Telerik.Windows.Controls.GridView.GridViewDataControl.ProcessMouseMoveSelection(MouseEventArgs e)
at Telerik.Windows.Controls.GridView.GridViewDataControl.OnMouseMove(MouseEventArgs e)
at System.Windows.Controls.Control.OnMouseMove(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Foghorn.UITestPage.aspx, line 56 character 13
Please help! This all worked with the Q2 release.
If there are no changes and the message box is not displayed everything works as expected.
If there are changes, and the message box is displayed, and I respond using the keyboard, everything works as expected.
If the message box is displayed and I use the mouse to click on the OK and the OK button is over any part of the grid then I get the exception below.
If the message box is displayed and I move it so that the OK button is NOT over any part of the grid, everything works as expected.
Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.ArgumentException: Value does not fall within the expected range.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
at MS.Internal.XcpImports.MouseEventArgs_GetPosition(MouseEventArgs args, UIElement relativeTo)
at System.Windows.Input.MouseEventArgs.GetPosition(UIElement relativeTo)
at Telerik.Windows.Controls.GridView.GridViewDataControl.ProcessMouseMoveSelection(MouseEventArgs e)
at Telerik.Windows.Controls.GridView.GridViewDataControl.OnMouseMove(MouseEventArgs e)
at System.Windows.Controls.Control.OnMouseMove(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Foghorn.UITestPage.aspx, line 56 character 13
Please help! This all worked with the Q2 release.
