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.
Unfortunately, activation email could not send to your email. Please try again.

Error

Thread ID:

Created:

Updated:

Platform:

Replies:

57749 Mar 9,2007 11:17 AM Mar 13,2007 11:45 PM Windows Forms 2
loading
Tags: Tools
Shankar Ramasubramanian
Asked On March 9, 2007 11:17 AM

Version Syncfusion 4.1

I occasionally get this error in my windows form applications. I can't figure out why i get this error.From the stack trace, I beleive it may be from Syncfusion.Windows.Forms.Tools.ComboDropDown
Am I doing anything wrong? Can you please help me figure out this issue.

Thanks in advance

Shankar

Exception :System.ArgumentException: Parameter is not valid.
at System.Drawing.Graphics.GetHdc()
at System.Windows.Forms.Internal.WindowsGraphics.FromGraphics(Graphics g, ApplyGraphicsProperties properties)
at System.Windows.Forms.ControlPaint.DrawFrameControl(Graphics graphics, Int32 x, Int32 y, Int32 width, Int32 height, Int32 kind, Int32 state, Color foreColor, Color backColor)
at System.Windows.Forms.ControlPaint.DrawComboButton(Graphics graphics, Int32 x, Int32 y, Int32 width, Int32 height, ButtonState state)
at System.Windows.Forms.ControlPaint.DrawComboButton(Graphics graphics, Rectangle rectangle, ButtonState state)
at Syncfusion.Windows.Forms.Tools.DropDownButton.OnPaint(Graphics g)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.DrawDropDownPortion(PaintEventArgs e)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Shankar Ramasubramanian
Replied On March 12, 2007 09:33 AM

Can you please help me with this. Thanks
Shankar


>Version Syncfusion 4.1

I occasionally get this error in my windows form applications. I can't figure out why i get this error.From the stack trace, I beleive it may be from Syncfusion.Windows.Forms.Tools.ComboDropDown
Am I doing anything wrong? Can you please help me figure out this issue.

Thanks in advance

Shankar

Exception :System.ArgumentException: Parameter is not valid.
at System.Drawing.Graphics.GetHdc()
at System.Windows.Forms.Internal.WindowsGraphics.FromGraphics(Graphics g, ApplyGraphicsProperties properties)
at System.Windows.Forms.ControlPaint.DrawFrameControl(Graphics graphics, Int32 x, Int32 y, Int32 width, Int32 height, Int32 kind, Int32 state, Color foreColor, Color backColor)
at System.Windows.Forms.ControlPaint.DrawComboButton(Graphics graphics, Int32 x, Int32 y, Int32 width, Int32 height, ButtonState state)
at System.Windows.Forms.ControlPaint.DrawComboButton(Graphics graphics, Rectangle rectangle, ButtonState state)
at Syncfusion.Windows.Forms.Tools.DropDownButton.OnPaint(Graphics g)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.DrawDropDownPortion(PaintEventArgs e)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Poly J [Syncfusion]
Replied On March 13, 2007 11:45 PM

Hi Shankar,

Sorry for the delay in updating you.
I am not able to reproduce the issue. I have checked in the source code with the stack trace you have provided. Could you please check the control showing in the Popupcontrol of combodropdown. If that is not the problem then please provide us more details for reproducing this issue.

Thanks for your interest in Syncfusion Products.

Best Regards,
Poly

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.

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.

;