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

RadDock.applystate()trouble with new telerik.web.ui

1 Answer 70 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Jan Jensen
Top achievements
Rank 1
Jan Jensen asked on 25 Jun 2008, 02:39 PM
After I have updated to latest telerik.web.ui 2008.1.619.35 from 2008.1.515.35, my dockstates won't apply to a newly created dock.

Why does this work with 2008.1.515.35, but not with the new?:

RadDock dock = new RadDock();
DockState d = new DockState();
d.Text = "sdfsdf";
d.Tag ="sad";
d.UniqueName = "asdasd";
dock.ApplyState(d);

RadDockLayout1.Controls.Add(dock);


1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 30 Jun 2008, 04:19 PM
Is there any JavaScript error?
Try to set Left and Top properties too, e.g.

d.Left =

Unit.Pixel(0);
d
.Top = Unit.Pixel(0);


Tags
Dock
Asked by
Jan Jensen
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or