Saturday, March 24, 2012

Calender control positioning problem

I have got two issues with calender control

1)I have body scroll="no" and div's overflow to auto(as i have menu in top div locked and content page in other div) When i use calender control the position of popup is offset to the targetcontrolid i.e it is not docked below targetcontrol id. TargetControl is at the bottom of div so user has to scroll to reach that control. Is there any way to render the popup aligned with targetcontrol as it is done when body scroll="yes". I have also tried with body's style="overflow-y:hidden" and got same offset issue.

2) In addition to above scenario, if i have dropdownlist below target control, than calender control seems to be hidden partially. Is there any way to set z-index so that calender control will always be rendered on top of dropdownlist.

It's the divs that are controling where the calendar is position. Did you play with the absolute value? That will let you add the calendar wherever you want in the page, the only control that has problems positioning with divs is the dropdown in IE6. Do you want me to send you some div code?
sure you can send me the code...i will highly appreciate that..

No comments:

Post a Comment