An unhandled exception has occured in the designer
Hi,
I am trying WPF to develop a very simple window. Following is my xaml.
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
x:Class="winMain"
WindowStartupLocation="CenterScreen"
syncfusion:SkinStorage.VisualStyle="Office2007Blue"
Title="winMain" Height="768" Width="1024">
FocusManager.IsFocusScope="True"
DockPanel.Dock="Top" Height="103" Background="Transparent">
syncfusion:DockingManager.SideInDockedMode="Left"
syncfusion:DockingManager.DesiredWidthInDockedMode="300" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VisualMode="MultipleExpansion" >
syncfusion:DockingManager.CanFloat="False">
The following is the error in the designer.
Object reference not set to an instance of an object.
at Syncfusion.Windows.Tools.Controls.DockingManager.SetControlCenter()
at Syncfusion.Windows.Tools.Controls.DockingManager.OnUseDocumentContainerChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at Syncfusion.Windows.Tools.Controls.DockingManager.UpdateControlCenter()
at Syncfusion.Windows.Tools.Controls.DockingManager.OnDockingManagerLoaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
HOWEVER, there is no error in the runtime.
I am trying WPF to develop a very simple window. Following is my xaml.
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
x:Class="winMain"
WindowStartupLocation="CenterScreen"
syncfusion:SkinStorage.VisualStyle="Office2007Blue"
Title="winMain" Height="768" Width="1024">
DockPanel.Dock="Top" Height="103" Background="Transparent">
syncfusion:DockingManager.DesiredWidthInDockedMode="300" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VisualMode="MultipleExpansion" >
The following is the error in the designer.
Object reference not set to an instance of an object.
at Syncfusion.Windows.Tools.Controls.DockingManager.SetControlCenter()
at Syncfusion.Windows.Tools.Controls.DockingManager.OnUseDocumentContainerChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at Syncfusion.Windows.Tools.Controls.DockingManager.UpdateControlCenter()
at Syncfusion.Windows.Tools.Controls.DockingManager.OnDockingManagerLoaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
HOWEVER, there is no error in the runtime.
SIGN IN To post a reply.
3 Replies
IA
i am digitalman
March 5, 2009 08:10 AM UTC
The following also generates the same error. I think something wrong with your UseDocumentContainer="False"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300" xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300" xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
BA
Balavasanth
Syncfusion Team
March 5, 2009 08:58 AM UTC
Hi DigitalMan,
Thanks for your interests in Syncfusion products.
We regret for this inconvenience caused. We have fixed this issue in our latest source. The fix for this issue will be available along with our coming development build on 16th of March 2009.
Please let us know if you have any queries.
Regards,
Bala.
Thanks for your interests in Syncfusion products.
We regret for this inconvenience caused. We have fixed this issue in our latest source. The fix for this issue will be available along with our coming development build on 16th of March 2009.
Please let us know if you have any queries.
Regards,
Bala.
The following also generates the same error. I think something wrong with your UseDocumentContainer="False"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300" xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
good
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
IA i am digitalman
- Mar 5, 2009 06:35 AM UTC
- Apr 4, 2018 10:52 AM UTC