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

Rad Window title buttons and scrolling issue

2 Answers 49 Views
Window
This is a migrated thread and some comments may be shown as answers.
Swapnil
Top achievements
Rank 1
Swapnil asked on 19 Sep 2013, 10:32 AM
Hi,
i am using rad window to show errors or success but i want
1] only close and pin button
2] Dont want scrolling
2] Dont want last Section(splitted part) of window

My code and screenshot is
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
    </telerik:RadWindowManager>
    <telerik:RadWindow ID="radwindowPopup" runat="server" Animation="FlyIn" CssClass="modalPopup"
        DestroyOnClose="true" EnableShadow="true" IconUrl="~/Images/Bi.ico" KeepInScreenBounds="true"
        Width="420px" Height="150px" MaxHeight="150px" MaxWidth="420px" MinHeight="150px"
        MinWidth="420px" Modal="true" RenderMode="Classic" VisibleStatusbar="true" VisibleTitlebar="true"
        Behaviors="Close" Title="Manifest-BI" Skin="Web20">
        <ContentTemplate>
            <center>
                <div style="padding: 20px">
                    Are you sure you want to Delete this Record?
                    <br />
                    <br />
                    <telerik:RadButton ID="btnOk" runat="server" Text="Yes" Width="70px" OnClick="btnOk_Click"
                        Skin="Web20" />
                        
                    <telerik:RadButton ID="btnCancel" runat="server" Text="No" Width="70px" OnClick="btnCancel_Click"
                        Skin="Web20" />
                </div>
            </center>
        </ContentTemplate>
    </telerik:RadWindow>
and

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 19 Sep 2013, 11:17 AM
Hi Swapnil,

Try setting the Behaviors property to Close,Pin so that the other buttons wont appear in the title bar. You can hide the window status bar by setting the VisibleStatusbar property to false so that the splitted portion of the RadWindow is hidden. Please have a look into the following mark-up I tried which works as expected.

ASPX:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>
<telerik:RadWindow ID="radwindowPopup" runat="server" Animation="FlyIn" CssClass="modalPopup"
    DestroyOnClose="true" EnableShadow="true" KeepInScreenBounds="true" Width="420px"
    Height="150px" MaxHeight="150px" MaxWidth="420px" MinHeight="150px" MinWidth="420px"
    Modal="true" RenderMode="Classic" VisibleTitlebar="true" VisibleStatusbar="false"
    Behaviors="Close,Pin" Title="Manifest-BI" Skin="Web20">
    <ContentTemplate>
        <center>
            <div style="padding: 20px">
                Are you sure you want to Delete this Record?
                <br />
                <br />
                <telerik:RadButton ID="btnOk" runat="server" Text="Yes" Width="70px" OnClick="btnOk_Click"
                    Skin="Web20" />
                <telerik:RadButton ID="btnCancel" runat="server" Text="No" Width="70px" OnClick="btnCancel_Click"
                    Skin="Web20" />
            </div>
        </center>
    </ContentTemplate>
</telerik:RadWindow>

Thanks,
Shinu.
0
Swapnil
Top achievements
Rank 1
answered on 19 Sep 2013, 11:47 AM
Thanks shinu for quick and always helpful reply
Swapnil
Tags
Window
Asked by
Swapnil
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Swapnil
Top achievements
Rank 1
Share this question
or