toolwindow and disable fill position

3 posts, 0 answers
  1. Ming Zhao
    Ming Zhao avatar
    44 posts
    Member since:
    Sep 2009

    Posted 11 Feb 2011 Link to this post

    Can we disable fill position when docking a toolwindow on raddock. 

    Namely, we want a toolwindow to dock to those postions: top, bottom, left, right and also float on any position.
    but we do not want a toolwindow to dock to a fill position,
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 16 Feb 2011 Link to this post

    Hi Ming,

    Could you please provide more information on the issue? I am not sure that I fully understand what exactly are you trying to achieve. Also, if possible provide the following information:
    • Version of the RadDock for ASP.NET AJAX you use
    • The browser used

    Best wishes,
    Pero
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ming Zhao
    Ming Zhao avatar
    44 posts
    Member since:
    Sep 2009

    Posted 16 Feb 2011 Link to this post

    we believe that we get this figured out:

     

    private void InitDragDropEvents()

     

     

    {

     

    Telerik.WinControls.UI.Docking.

    DragDropService service = this.radDock1.GetService<Telerik.WinControls.UI.Docking.DragDropService>();

     

     

    service.PreviewDockPosition +=

    new Telerik.WinControls.UI.Docking.DragDropDockPositionEventHandler(service_PreviewDockPosition);

     

     

     

     

    }

     

     

    protected void service_PreviewDockPosition(object sender, Telerik.WinControls.UI.Docking.DragDropDockPositionEventArgs e)

     

     

    {

     

     

    if (e.GuidePosition == Telerik.WinControls.UI.Docking.DockingGuidesPosition.Center)

     

     

    {

     

    e.AllowedDockPosition =

    AllowedDockPosition.Bottom | AllowedDockPosition.Top | AllowedDockPosition.Right | AllowedDockPosition.Left;

     

     

    }

     

    }

Back to Top