Customization in Rad Scheduler Header

2 posts, 0 answers
  1. shubhangi
    shubhangi avatar
    19 posts
    Member since:
    Aug 2015

    Posted 15 Sep 2015 Link to this post

    I have added function below for showing jobstatus in different color as per requirement. for that i have added some html code and showing as i want. 
      function page_load() {
                var $ = $telerik.$;
                var $header = $(".rsHeader h2");
                var result = '';
                result += '<Span class ="tab">' + "<u>Job Status:</u> " + '<Span class ="clr1"> ' + "Success" + '</span>' + '<Span class ="clr2">' + " Runing " + '</span>' + '<Span class ="clr3">' + " Failed " + '<span>' + '<Span class ="clr4">' + " Deleted " + '</span>' + '</span>';
                $header.html($header.html() + result)
    Code Behind:
       protected void Page_Load(object sender, EventArgs e)
                Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "page_load()", true);
     But after inserting record the labels not showing on header after  today date means page is not loading again. Please give me any idea ?? where we can call this function Page_Load(). You can see implemented changes in attachment image. 

  2. Magdalena
    Magdalena avatar
    464 posts

    Posted 18 Sep 2015 Link to this post

    Hi Shubh,

    We have rename the function to pageLoad() and it works properly after editing the name. We are sending you this video as a part of the testing. Could you please test the functionality with this change?

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top