Hi Miroslav,
I am getting following exception when i call ShowDialog() method of RadWindow.
I use this window as a dialog with the transperent background when loading data. and hide this when data loads completed.
This method is not being called first time. this has been called previously when loading another data.
Now i dont see that where the error is from the following execption.
Please help.
Exception......................
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
[Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
--- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 1 Position: 273]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
--- End of inner exception stack trace ---
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) [Line: 0 Position: 0]