Visual Studio crashes while in "Edit UI Elements" of RadTextBox

2 posts, 0 answers
  1. mdanh
    mdanh avatar
    17 posts
    Member since:
    Jul 2012

    Posted 18 Aug 2010 Link to this post

    I am using Visual Studio 2008 with the latest Telerik Winforms. If, for example, I drag a RadTextBox from the toolbox, and click "Edit UI Elements". Then, I choose FillPrimitive and attempt to set SmoothingMode to something like, say, "Invalid" (among other options)

    Then immediately Visual Studio would say RadTextBox has thrown an exception in the designer and has been disabled. Error message is "Parameter is not valid" and no stack trace is available. The "element hierarchy editor " dialog is closed and VS hangs with 100% CPU usage (I have to terminate devenv.exe task to recover).

    I know this is not a valid use case but should this be handled more gracefully? The exception dialog is OK but at least VS should not hang.
  2. Peter
    Peter avatar
    1148 posts

    Posted 23 Aug 2010 Link to this post

    Hello mdanh,
    Thanks for writing.

    This is a well known limitation of the System.Drawing library. Setting the Smoothing mode to  SmoothingMode.Invalid will throw an exception ("Parameter not valid") so, please do not specify this option.

    Do not hesitate to contact us if you have other questions.


    the Telerik team


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top