How to Hide RadDock TitleBar ?

6 posts, 0 answers
  1. Prince M. Premnath
    Prince M. Premnath avatar
    32 posts
    Member since:
    Oct 2009

    Posted 29 Oct 2009 Link to this post

    Hello All !

     I wish to hide the RadDock TitleBar how can i do this ?
    -Prince
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 29 Oct 2009 Link to this post

    Hello Prince,

    Set the DockHandle property to "None".

    Here are some online resources that I think will be helpful:



    All the best,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Prince M. Premnath
    Prince M. Premnath avatar
    32 posts
    Member since:
    Oct 2009

    Posted 29 Oct 2009 Link to this post

    I think its working , but in addition i need the Drag and Drop functionality as well .. it doesn't seems to be working , should i need to set more properties ??


  5. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 29 Oct 2009 Link to this post

    Hi Prince,

    Please take a look at the following demo. It explains how to set drag handle to a custom HTML element.


    Regards,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Pedro Laranjo
    Pedro Laranjo avatar
    1 posts
    Member since:
    Mar 2008

    Posted 13 Oct 2010 Link to this post

    Hello All,

    Is it possible do add a custom drag handle to a image on the titlebar?
    I already know how to implement this inside the dock but it doesn't seem to work with the Titlebar.

    I want to define an image (icon) inside the Titlebar so that the user can drag the Dock instead of all the Titlebar.

    I tryed using the following client script on the markup:

    function SetHandleDock(dock, args) {
                dock.set_handle(document.getElementById(dock.get_id() + "_T_Handle"));
    }

    And create the handle on codebehind:
    //Dock Handle
    //Create an image that will be set on the client-side as a handle for the dock
    Control u = new Control();
    System.Web.UI.WebControls.Image dockHandle = new System.Web.UI.WebControls.Image();
    dockHandle.ID = "Handle";
    dockHandle.ImageUrl = "~/Content/drag_icon.gif";
    Label l = new Label();
    l.Text = w.Title;
    u.Controls.Add(dockHandle);
    u.Controls.Add(l);
    Dashboard.Models.UI.DynamicallyCreatedTemplate t = new Models.UI.DynamicallyCreatedTemplate(ListItemType.Item, u);
    dock.TitlebarTemplate = t;
    dock.OnClientInitialize = "SetHandleDock";

    If it's possible please let me know.
    Thanks
    Tiago
  7. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 15 Oct 2010 Link to this post

    Hi Tiago,

    For your convenience I have implemented a sample project that will help you achieve your specific scenario. Please find it attached to the thread.

    Sincerely yours,
    Pero
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017