# Highlighting

By default, when the user drags a **RadDock** control over a **RadDockZone** control that can accept it, the only indication is a placeholder that appears where the **RadDock** control will be docked:

![](https://www.telerik.com/products/aspnet-ajax/documentation/assets/a3bbf58c860e14e00890f81f46492ddf/dock-placeholderwebblue.png)

You can highlight the entire dock zone as well as showing the placeholder, providing the user with feedback about the limits of the dock zone as well as where the **RadDock** control will be docked. To highlight the dock zone when it is ready to accept and dock a **RadDock** control, use the **HighilghtedCssClass** property.

To use the **HighlightedCssClass** property,

1. Define a CSS class that will be applied to the <div> tag that is the rendered image of the dock zone. You can use a separate CSS file and link to it, or you can define the CSS class in the <head> tag of the Web page:

   **ASP.NET**

   ```
    <head runat="server">
        <title>Untitled Page</title>
        <style type="text/css">     
            .MyHighlight     
            {       
                background-color:red !important;     
            }    
        </style>
   ```

    </head>

   > note Note the use of the **!important** modifier on the CSS rule. This is to force the rule to override any more specific CSS rules for in the CSS file for the RadDockZone's skin.Without the **!important** modifier, the CSS rule would not necessarily take effect.

2. Set the **HighlightedCssClass** property of the **RadDockZone** control to the name of your new CSS class:

   **ASP.NET**

   ```
    <telerik:raddockzone id="RadDockZone1" runat="server" skin="WebBlue" orientation="Horizontal"
        height="100px" highlightedcssclass="MyHighlight"></telerik:raddockzone>
   ```

When the **HighlightedCssClass** property is set, the **RadDockZone** uses the new CSS class when a **RadDock** control is dragged over the zone (as long as the **RadDockZone** is not listed in the **RadDock** control's **ForbiddenZones** property).

![](https://www.telerik.com/products/aspnet-ajax/documentation/assets/a070a4b11df35241c183c06c710fed94/dock-highlightclass.png)

## See Also

* [Drag And Drop](https://www.telerik.com/products/aspnet-ajax/documentation/controls/dock/getting-started/drag-and-drop)

* [Controlling RadDock's Appearance](https://www.telerik.com/products/aspnet-ajax/documentation/controls/dock/appearance-and-styling/controlling-raddock-s-appearance)

* [Tutorial: Creating a Custom Classic Skin](https://www.telerik.com/products/aspnet-ajax/documentation/controls/dock/appearance-and-styling/creating-custom-classic-skin)

* [Tutorial: Creating a Custom Lightweight Skin](https://www.telerik.com/products/aspnet-ajax/documentation/controls/dock/appearance-and-styling/creating-custom-lightweight-skin)

* [OnClientDockPositionChanging](https://www.telerik.com/products/aspnet-ajax/documentation/controls/dock/client-side-programming/events/onclientdockpositionchanging)
