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

DockPanel Text property not updating properly

1 Answer 69 Views
Dock
This is a migrated thread and some comments may be shown as answers.
JMon
Top achievements
Rank 1
JMon asked on 04 Jan 2007, 07:56 AM
Cannot get DockPanel Text Property to properly update.

If I create a DockPanel and set the "Text" property it works, but if I then want to change the "Text" property I have to click on the panel before the change is visible.  Looking at the panel in debug the Text property has updated but does not show until pane is clicked (or button clicked a second time - will see 1st update).

To reproduce:

Add docking manager to form
Add dockPanel
Add button to dockPanel
Add this code to button click event:
    dockPanel1.Text = DateTime.Now.ToString("hhmmss");

What am I doing wrong?  Thanks

1 Answer, 1 is accepted

Sort by
0
Chris
Telerik team
answered on 04 Jan 2007, 04:39 PM
Hi Jack,

We managed to reproduce this problem locally. The fix will be available in the upcoming Q4 SP1 scheduled for the 15th of January.

Greetings,
Chris
the telerik team
Tags
Dock
Asked by
JMon
Top achievements
Rank 1
Answers by
Chris
Telerik team
Share this question
or