The Calendar animation is incorrect when the width or the height of the calendar body is changed via css class. I have made some changes to the __Calendar.js__ file to fix the issue. I dont know if it the best fixe but it seams to work correctly.
__Code change summay__
Removed Hard-Coded Variable
this._width = 170;
this._height = 139;
Replace Variable By Corresponding
newElement.offsetWidth
newElement.offsetHeight
oldElement.offsetWidth
oldElement.offsetHeight
Exemple:
$common.setLocation(newElement, { x: 0, y: newElement.offsetWidth });
$common.setLocation(newElement, { x: 0, y: newElement.offsetHeight });
Include modified javascript. Hope this will help.
Comments: I use the calendar in a mobile application and the calendar date buttons must be larger to accommodate the clients finger. I use the modified version successfully, but I have to reapply my modifications every new version of Ajax Control Toolkit. Please fix the issues and make the calendar animations work in larger scale. Thank you I anvance.
__Code change summay__
Removed Hard-Coded Variable
this._width = 170;
this._height = 139;
Replace Variable By Corresponding
newElement.offsetWidth
newElement.offsetHeight
oldElement.offsetWidth
oldElement.offsetHeight
Exemple:
$common.setLocation(newElement, { x: 0, y: newElement.offsetWidth });
$common.setLocation(newElement, { x: 0, y: newElement.offsetHeight });
Include modified javascript. Hope this will help.
Comments: I use the calendar in a mobile application and the calendar date buttons must be larger to accommodate the clients finger. I use the modified version successfully, but I have to reapply my modifications every new version of Ajax Control Toolkit. Please fix the issues and make the calendar animations work in larger scale. Thank you I anvance.