We have experienced what appears to be a bug with the "leftpad" attribute of an appointment.
In our situation, we have a weekly view in which every "block" of the calendar represents 12 hours. So, if an appointment starts at 8am for example, we pad it 66%, so it appears 2/3 of the way between 12am and noon. For appointments that begin at 12, or are all day, we leave the leftpad attribute alone, which leads to it being set to NULL and the appointment is properly not padded at all.
The problem occurs only in the following cases:
* The current week has an all day appointment for Monday (so not padded)
* Navigate to previous week
* The Monday of the previous week has an appointment starting somewhere in the AM (and padded accordingly)
* Navigate back to the current week
* Now, the all day Monday appointment is padded equivalent to the padding of the previous Monday's appointment instead of appearing to begin at 12.
* If the page is refreshed, then the all day appointment returns to begin at 12
To get around this, I have specified a leftpad value of "0%" for these all day appointments. But, this is only necessary in those cases listed above so it appears to be a bug within the Schedule control.
Unfortunately I don't have a sample project at this time that represents this.
I can provide more detail (screenshots, etc) if necessary.
In our situation, we have a weekly view in which every "block" of the calendar represents 12 hours. So, if an appointment starts at 8am for example, we pad it 66%, so it appears 2/3 of the way between 12am and noon. For appointments that begin at 12, or are all day, we leave the leftpad attribute alone, which leads to it being set to NULL and the appointment is properly not padded at all.
The problem occurs only in the following cases:
* The current week has an all day appointment for Monday (so not padded)
* Navigate to previous week
* The Monday of the previous week has an appointment starting somewhere in the AM (and padded accordingly)
* Navigate back to the current week
* Now, the all day Monday appointment is padded equivalent to the padding of the previous Monday's appointment instead of appearing to begin at 12.
* If the page is refreshed, then the all day appointment returns to begin at 12
To get around this, I have specified a leftpad value of "0%" for these all day appointments. But, this is only necessary in those cases listed above so it appears to be a bug within the Schedule control.
Unfortunately I don't have a sample project at this time that represents this.
I can provide more detail (screenshots, etc) if necessary.