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

Hide the Page name?

2 Answers 77 Views
Window
This is a migrated thread and some comments may be shown as answers.
Emre
Top achievements
Rank 1
Emre asked on 27 Dec 2011, 04:11 PM
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 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 27 Dec 2011, 04:25 PM
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
0
Emre
Top achievements
Rank 1
answered on 28 Dec 2011, 10:43 AM
Thanks Svetlina.I used method 1 and it worked forked for me.
Tags
Window
Asked by
Emre
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Emre
Top achievements
Rank 1
Share this question
or