We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

An unhandled exception has occured in the designer

Thread ID:

Created:

Updated:

Platform:

Replies:

79948 Mar 5,2009 06:35 AM UTC Apr 4,2018 10:52 AM UTC WPF 3
loading
Tags: DockingManager
i am digitalman
Asked On March 5, 2009 06:35 AM UTC

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 digitalman
Replied On 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">








Balavasanth [Syncfusion]
Replied On 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.




ibrahim
Replied On April 4, 2018 10:52 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">








good

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;