This is a migrated thread and some comments may be shown as answers.

Change row height on date change

2 Answers 62 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rimma
Top achievements
Rank 1
Rimma asked on 08 Mar 2013, 04:30 PM
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 Answers, 1 is accepted

Sort by
0
Rimma
Top achievements
Rank 1
answered on 08 Mar 2013, 05:47 PM
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.
0
Plamen
Telerik team
answered on 13 Mar 2013, 12:34 PM
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.
Tags
Scheduler
Asked by
Rimma
Top achievements
Rank 1
Answers by
Rimma
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or