Hide the Page name?

3 posts, 0 answers
  1. Emre
    Emre avatar
    28 posts
    Member since:
    Dec 2011

    Posted 27 Dec 2011 Link to this post

    I have a radwindow.I wanna hide the name of the pagewhich is at the bottom of the radwindow.How can I do this?

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 27 Dec 2011 Link to this post

    Hello Emre,

    What I can suggest is to choose one of the following options, depending on your exact requirements:

    1)  You can remove the whole status bar in case you do not want it.

    To hide the statusbar you should set VisibleStatusbar = "false". You can alternatively set it on the client by using set_visibleStatusbar(false).

    2) Keep the status bar and change only the displayed string.

    To set a different status message you should do that after the page has already loaded and by using the set_status method as shown below:

    Copy Code
    <asp:ScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadWindowManager ID="mng" runat="server" OnClientPageLoad="OnClientPageLoad">
    </telerik:RadWindowManager>
    <input type="button" onclick="test()" value="test" />
    <telerik:RadCodeBlock runat="server" ID="codeblock">
    <script type="text/javascript">
    function test() {
    var myWindow = radopen("Default3.aspx", "RadWindow1");
    }
    function OnClientPageLoad(sender, args) {
    sender.set_status("My custom status");
    }
    </script>
    </telerik:RadCodeBlock>

    I hope that my suggestions are detailed enough and helpful, let me know how it goes.

    Regards,
    Svetlina Anati
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Emre
    Emre avatar
    28 posts
    Member since:
    Dec 2011

    Posted 28 Dec 2011 Link to this post

    Thanks Svetlina.I used method 1 and it worked forked for me.
Back to Top