I would really appreciate your advice on this error. My menu works just fine, till I start minimizing it and clicking on the tabs. Sometimes it just takes simply minimizing the ribbonview and trying to click a tab item, other times i click around randomly and happen across this.
The exception is as follows:
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.MethodEx(DependencyObject obj, String name)
at Pos1.Utilities.DisplayChildWindow.Show(ChildWindow window)
at Pos1.App.Application_UnhandledException(Object sender, ApplicationUnhandledExceptionEventArgs e)
at MS.Internal.Error.CallApplicationUEHandler(Exception e)
at MS.Internal.Error.CallAUEHandler(UInt32 hr, UInt32& bIsHandled)
System.CrossAppDomainMarshaledException was unhandled
According to a bit of googling this seems to be a silverlight problem when it comes to dealing with invisible controls. I see that in this thread
though the problem was report and then fixed in a new release of the telerik control.
EDIT: On a separate topic, if i could request a feature: Would it be possible to enable a function to disallow the preview functionality on this control. I've managed to find a work around for it but it would help a bit to just simply uncheck an option to prevent it.