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

Set statusbar text in code-behind

1 Answer 112 Views
Window
This is a migrated thread and some comments may be shown as answers.
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
ToltingColtAcres asked on 30 Apr 2020, 10:26 AM
Is there a property or method to set a radwindow's status bar text in code-behind?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 May 2020, 07:08 AM

Hi Michael,

Thank you for your good question!

The control does not offer a server-side, but a client-side set_status method for changing its status text so you will need to call it via the help of the .NET ClientScript.RegisterStartupScript or ScriptManager.RegisterClientScriptBlock method from the server:

string script = "<script>setTimeout(function () { $find('RadWindow1').set_status('test'); }, 1000);</script>";
ClientScript.RegisterStartupScript(this.GetType(), "Status", script);

 

Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Window
Asked by
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
Answers by
Rumen
Telerik team
Share this question
or