Problem with MdiParent property when use RibbonControlAdv

Hi, I'm working in a windows form project and i'm facing a problem, I have a MDI Form with a RibbonControlAdv and several forms as child forms, everything was working propertly until I update my version of syncfusion, now im getting this error:

System.NullReferenceException: 'Referencia a objeto no establecida como instancia de un objeto.'
System.NullReferenceException occurred
HResult=0x80004003
Message=Referencia a objeto no establecida como instancia de un objeto.
Source=
StackTrace:
at Syncfusion.Windows.Forms.Tools.RibbonControlAdv.OnWmMdiActivate(IntPtr hWnd, IntPtr wParam, IntPtr lParam)
at Syncfusion.Windows.Forms.Tools.RibbonControlAdv.CallWndProc(IntPtr hWnd, Int32 nMsg, IntPtr wParam, IntPtr lParam)
at Syncfusion.Windows.Forms.Tools.CallWndProcHook.CallWndProcInternal(Int32 nCode, IntPtr wParam, IntPtr lParam)
at Syncfusion.Windows.Forms.Tools.WndHook.CallWndProc(Int32 nCode, IntPtr wParam, IntPtr lParam)

The child forms are called from the buttons of the MDI RibbonControl, each Child Form has a Me.MdiParent = MDI in the OnLoad Event, this exact line its causing a NullReferenceException.
I don't know what's the problem. Please help.

Attachment: WindowsApp1_53226e47.rar

1 Reply

GS Gokul Sainarayanan Syncfusion Team April 23, 2018 05:53 AM UTC

Hi Oscar,

We have checked your reported query and it is internally fixed. We will include this fix in our Vol 1 SP2 release which will be available in the end of April, 2018.

Regards,
Gokul S

Loader.
Up arrow icon