HeaderDateFormat Timeline view - change value programmatically

2 posts, 0 answers
  1. Jamie
    Jamie avatar
    1 posts
    Member since:
    Sep 2011

    Posted 24 Oct 2011 Link to this post

    Hello,

    For the HeaderDateformat of the TimeLine view; can I change the value of this to be a non-date field?

    For example - Instead of saying something like "October 2011 - November 2011", I would like for it to say something like "October N - 16" where N is a value of my choosing.  I have included some screenshots.

    So, basically, can I problematically change this through code (client,server, or CSS)?
  2. Plamen
    Admin
    Plamen avatar
    3047 posts

    Posted 25 Oct 2011 Link to this post

    Hello Jamie,

    You can try to use the pageLoad event like here:
    function pageLoad() {
              $ = $telerik.$;
              var header = $(".rsHeader H2")
              var currenthtml = header.html();
              header.html('October N - 16');
          }

    Hope this will be helpful.

    All the best,
    Plamen Zdravkov
    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
Back to Top