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

Strange RadTabStrip & RadComboBox Design view behaviour

2 Answers 63 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Phi
Top achievements
Rank 1
Phi asked on 02 Jul 2007, 03:38 AM

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 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 03 Jul 2007, 04:51 PM
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
0
Phi
Top achievements
Rank 1
answered on 03 Jul 2007, 11:13 PM
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
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Phi
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Phi
Top achievements
Rank 1
Share this question
or