Eliminate all transparency from RadDock ?

3 posts, 1 answers
  1. Mike
    Mike avatar
    5 posts
    Member since:
    Mar 2014

    Posted 29 Aug 2014 Link to this post


    Is it possible to drag around a RadDock without it becoming transparent?

    I've tried hooking into the OnClientDragStart with this function:

    function OnClientDragStart(sender, args)
    {
       var dockElement = sender.get_element();
       dockElement.style.opacity = "";
       dockElement.style.mozOpacity = "";
       dockElement.style.filter = ""; 
    }

    It has no effect - I can set the transparency very low or high successfully, but even with transparency at the lowest, it visually looks about 50% transparent.

    I've removed the SkinManager and tried a bunch of jQuery on individual elements in the OnClientDragStart function as well, but something in the framework is consistently setting the entire dock's transparency when dragging starts.

    I'm using UI for ASP.NET AJAX, v2014.1.403.45

    Thanks,
    Mike
  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3600 posts

    Posted 03 Sep 2014 Link to this post

    Hi Mike,

    There is an additional CSS class that applies the transparency, so you can override it like this:

    div.RadDock.rdDragHelper
    {
        opacity: 1 !important;
        filter: "" !important;
        -ms-filter: "" !important;
        mozOpacity: 1 !important;
    }



    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mike
    Mike avatar
    5 posts
    Member since:
    Mar 2014

    Posted 03 Sep 2014 in reply to Marin Bratanov Link to this post

    Works like a charm.  Thanks!
    Mike
Back to Top