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

Customization in Rad Scheduler Header

1 Answer 74 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
shubhangi
Top achievements
Rank 1
shubhangi asked on 15 Sep 2015, 09:21 AM
Hi,
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. 

Thanks,
shubh

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 18 Sep 2015, 07:58 AM
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?

Regards,
Magdalena
Telerik
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
Tags
Scheduler
Asked by
shubhangi
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or