Strange RadTabStrip & RadComboBox Design view behaviour

3 posts, 0 answers
  1. Phi
    Phi avatar
    19 posts
    Member since:
    Jun 2007

    Posted 01 Jul 2007 Link to this post

    Hi,

    Create an empty form. Place a RadTabStrip there, and add a new tab. Place a RadComboBox within the newly added tab.
    Close the form window, and then re-open it. You will notice that the designer code changes (there is an asterisk indicating the file has changed).

    When I look at the designer generated code, I notice that the following line is added
    Me.RadComboBox.FormatString = Nothing

    If I save, close the form window and re-open, the designer code changes again and the previous line is no longer there. Everytime I close and re-open the form, that line appears and re-appears.

    It doesnt make a difference to to the functionality but its annoying that the designer code always changes even if I havent touched the form.
    I also notice that there's a slight pause, everytime I re-open the form, it seems to be regenerating the designer code. Does this happen with all forms & controls, or is it a behaviour of the VS2005 designer or is it unique to the Telerik controls?

    Regards,
    Phi Le

  2. Georgi
    Admin
    Georgi avatar
    212 posts

    Posted 03 Jul 2007 Link to this post

    Hi Phi,

    This behavior is caused by the VS2005 designer - it serializes every property which has no default value. We're constantly polishing the API of our controls and such issues will be eliminated in the coming releases.

     
    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Phi
    Phi avatar
    19 posts
    Member since:
    Jun 2007

    Posted 03 Jul 2007 Link to this post

    Hi Georgi,

    Thanks for the reply. I only noticed this behaviour when the RadComboBox is within a RadTabStrip. If the RadComboBox is on the form by itself, then this behaviour does not occur.

    In any case, I am looking forward to the more polished API in future releases.

    Cheers
    Phi
Back to Top