Set statusbar text in code-behind

2 posts, 0 answers
  1. ToltingColtAcres
    ToltingColtAcres avatar
    113 posts
    Member since:
    Nov 2010

    Posted 30 Apr 2020 Link to this post

    Is there a property or method to set a radwindow's status bar text in code-behind?
  2. Rumen
    Admin
    Rumen avatar
    14431 posts

    Posted 05 May 2020 Link to this post

    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.
Back to Top