System.CrossAppDomainMarshaledException was unhandled

2 posts, 0 answers
  1. Trevor
    Trevor avatar
    5 posts
    Member since:
    Jul 2011

    Posted 03 Aug 2011 Link to this post

    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 System.Windows.UIElement.UpdateLayout()
       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.
  2. Petar Mladenov
    Petar Mladenov avatar
    2986 posts

    Posted 08 Aug 2011 Link to this post

    Hello Trevor,

     Could you please elaborate more on the exception you have come up with? Is it possible for you to isolate this in a sample project so that we could try to reproduce it and investigate it further?
    As for the feature you need, what do you mean by "preview functionality" ?

    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top