focused Date not set in calendar.selectDates()

2 posts, 0 answers
  1. Akil
    Akil avatar
    1 posts
    Member since:
    Aug 2010

    Posted 14 Aug 2010 Link to this post

       function Fill(a, b) {
            var selectDates = new Array();
            var i = 0;
            //b.setDate(b.getDate() - 1);
            var selectDate = b;        
            while (i <= a) {
                var newTripplet = [selectDate.getFullYear(), selectDate.getMonth(), selectDate.getDate()];
                selectDates[i] = newTripplet;
                selectDate.setDate(selectDate.getDate() + 1);           

            calen = $find("<%=CalendarSearchRoom.ClientID %>");
            calen.selectDates(selectDates, true);


    if I click on particular date then all nights are selected but not selected which I click
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 18 Aug 2010 Link to this post

    Hi Akil,

    Could you please elaborate a bit more on your application? What is the exact functionality you need to achieve using the provided script?

    Kind regards,
    Maria Ilieva
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top