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

2 posts, 0 answers
  1. Jan Jensen
    Jan Jensen avatar
    4 posts
    Member since:
    Aug 2006

    Posted 25 Jun 2008 Link to this post

    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);


  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 30 Jun 2008 Link to this post

    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);


Back to Top