Change row height on date change

3 posts, 0 answers
  1. Rimma
    Rimma avatar
    15 posts
    Member since:
    Jan 2013

    Posted 08 Mar 2013 Link to this post

    Hi, in month view I'd like to adjust the row height depending on the maximum number of appointments in a cell.  I have the code calculating the height and it works fine when I switch from one view to another, but when I switch from one month to another the row height value does not get updated.  Is there a way for me to trigger an update programmatically?

    Thanks,
    Rimma
  2. Rimma
    Rimma avatar
    15 posts
    Member since:
    Jan 2013

    Posted 08 Mar 2013 Link to this post

    Never mind guys, I made it work.
    I had to change Rebind to DataBind (what does that do by the way) and update the row height after the DataBind.
  3. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 13 Mar 2013 Link to this post

    Hi Rimma,

     
    |I am glad you solved the issue.

    Yes indeed in RadScheduler there is a significant difference between DataBind and Rebind. DataBind is used to only bind a data source to RadScheduler control and all its child initially while Rebind is preferred when some updated on the already bound RadScheduler are forced.

    Hope this will explain this issue.

    Regards,
    Plamen
    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