Rad Window title buttons and scrolling issue

3 posts, 1 answers
  1. Swapnil
    Swapnil avatar
    96 posts
    Member since:
    Aug 2013

    Posted 19 Sep 2013 Link to this post

    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. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 Sep 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Swapnil
    Swapnil avatar
    96 posts
    Member since:
    Aug 2013

    Posted 19 Sep 2013 Link to this post

    Thanks shinu for quick and always helpful reply
    Swapnil
Back to Top