Data Binbing RowHeader Text

2 posts, 0 answers
  1. Sheng Xu
    Sheng Xu avatar
    1 posts
    Member since:
    Oct 2009

    Posted 22 Oct 2009 Link to this post

    I can change text using OnHeaderCellRender but the client side script change it back to default. How can I do it then? 
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2289 posts

    Posted 27 Oct 2009 Link to this post

    Hello Sheng,

    Those values are re-evaluated on client initialization of RadCalendar and this might be the reason for loosing them. One possible solution could be by overriding the following function:
    01.<script type="text/javascript"
    02.    Telerik.Web.UI.Calendar.CalendarView.prototype.isNumber = function(a) {
    03.        if (typeof a == "string")
    04.            return false;
    05.   
    06.        if (isNaN(parseInt(a)))
    07.            return false;
    08.        else
    09.            return true;
    10.    }
    11.</script>


    Best wishes,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top