Loading time for Custom cells in calendar

2 posts, 0 answers
  1. Kyle
    Kyle avatar
    30 posts
    Member since:
    Dec 2014

    Posted 05 Oct 2015 Link to this post

    Hi,

     I'm using a custom cell for the calendar.  It is working fine, the only problem i'm running into is that the calendar originally loads with the old cells appearence, and it is not until I call Calendar.Update() that I can see my cells load in.  I haven't been able to figure a way to have it use the custom cells on its first load, so there is always a brief second or two where the calendar appears to be the old one before swapping to using my custom cells.

     

    The code that sets my custom cells is:

     

    Public override TkCalendarCell VIewForCellOfKind(.....){
     
         if(cellType == TKCalenarCell.Day){
              return new CustomCell();
         }
    }
     
     
    public override void UpdateVisualsForCell(...){
        //Do all my custom cell formatting.
     
    }

     

     

     

    Is there any way to set up the calendar to use my custom cell on its first render?

    Thanks

  2. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 06 Oct 2015 Link to this post

    Hi Kyle,

    Thank you for contacting us.
    I wasn't able to reproduce the described issue neither on simulator nor on device. Could you please send me a sample project where the issue appears, so I can investigate it further?

    I am looking forward to your reply.

    Regards,
    Adrian
    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
  3. DevCraft banner
Back to Top