This is a migrated thread and some comments may be shown as answers.

RadConfirm without border

1 Answer 17 Views
Window
This is a migrated thread and some comments may be shown as answers.
ghini
Top achievements
Rank 2
ghini asked on 30 Sep 2014, 08:47 PM
Hi,
I found many posts on how to remove the borders from a RadWindow (for example http://www.telerik.com/help/aspnet-ajax/window-appearance-removing-borders.html) but nothing for a RadConfirm.
Exists a way to eliminate the borders of a RadConfirm?

Thanks to all

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 01 Oct 2014, 02:56 PM
Hi Ghini,

The following CSS obtained from the mentioned article works properly on my side:
ASPX:
<head runat="server">
    <title></title>
    <style>
        .RadWindow_Default .rwCorner .rwTopLeft,
        .RadWindow_Default .rwTitlebar,
        .RadWindow_Default .rwCorner .rwTopRight,
        .RadWindow_Default .rwIcon,
        .RadWindow_Default table .rwTopLeft,
        .RadWindow_Default table .rwTopRight,
        .RadWindow_Default table .rwFooterLeft,
        .RadWindow_Default table .rwFooterRight,
        .RadWindow_Default table .rwFooterCenter,
        .RadWindow_Default table .rwBodyLeft,
        .RadWindow_Default table .rwBodyRight,
        .RadWindow_Default table .rwTitlebar,
        .RadWindow_Default table .rwTopResize,
        .RadWindow_Default table .rwStatusbar,
        .RadWindow_Default table .rwStatusbar .rwLoading {
            display: none !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <script>
            function OpenRadConfirm() {
                radconfirm('confirm?');
            }
        </script>
        <telerik:RadButton ID="RadButton1" runat="server" AutoPostBack="false" OnClientClicked="OpenRadConfirm" Text="Open RadConfirm"/>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server"></telerik:RadWindowManager>
    </form>
</body>
</html>

the above code renders this after clicking the button.

It may be possible that you have used a wrong skin name in the CSS selectors or you are using CSS selectors for the wrong rendering(i.e., lighweight/classic) , so make sure that is not the case.

Regards,
Danail Vasilev
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.

 
Tags
Window
Asked by
ghini
Top achievements
Rank 2
Answers by
Danail Vasilev
Telerik team
Share this question
or