Invalid Parameter

2 posts, 0 answers
  1. Zerka
    Zerka avatar
    33 posts
    Member since:
    Jul 2010

    Posted 03 Oct 2011 Link to this post


    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.




  2. Jack
    Jack avatar
    2333 posts

    Posted 05 Oct 2011 Link to this post

    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.
    the Telerik team

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

Back to Top