This is a migrated thread and some comments may be shown as answers.

Invalid Parameter

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zerka
Top achievements
Rank 1
Zerka asked on 03 Oct 2011, 08:31 AM

Hi

Sometimes the following exception is thrown in our application:

Parameter is invalid.

ved System.Drawing.Region.GetHrgn(Graphics g)    
ved System.Windows.Forms.Control.GetHRgn(Region region)    
ved System.Windows.Forms.Control.OnHandleCreated(EventArgs e)    
ved System.Windows.Forms.Form.OnHandleCreated(EventArgs e)    
ved System.Windows.Forms.Control.WmCreate(Message& m)    
ved System.Windows.Forms.Control.WndProc(Message& m)    
ved System.Windows.Forms.ScrollableControl.WndProc(Message& m)    
ved System.Windows.Forms.ContainerControl.WndProc(Message& m)    
ved System.Windows.Forms.Form.WmCreate(Message& m)    
ved System.Windows.Forms.Form.WndProc(Message& m)    
ved Telerik.WinControls.UI.RadFormControlBase.WndProc(Message& m) i :linje 0    
ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)    
ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

No line of code is specified in this exception. One of our customer is using Citrix and this exception is more frequent there.

How can I solve this problem?

The exception is oftenly thrown while refreshing data in RadGridView, RadDatagridviewComboboxes and other controls. Actually I can not reproduce this exception on my machine but in the situation told by customer, we are refreshing data.

Telerik version used by application is v2011.1.11.419.

Any help would be appreciated.

Thanks

Regards

 

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 05 Oct 2011, 11:22 AM
Hi Zerka,

Thank you for contacting us.

Yes, we observed a similar issue in the older versions of RadControls for WinForms. We addressed the issue in our latest release - Q2 2011 SP1. I recommend that you try this version. If the issue continues to appear, please specify in detail the condition in which it appears and the exact steps to reproduce it. We want to ensure that this issue is addressed in our future releases. Thank you in advance.

I am looking forward to your reply.
 
Greetings,
Jack
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Zerka
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or