When I put a RadDatePicker on a RadToolTip, the Calendar renders underneath the tooltip when the popup button is pressed. Tried setting the zindex of the Calendar to no avail.
Anyone have any experience getting this to work?
Thanks,
Stoney
1 Answer, 1 is accepted
0
Svetlina Anati
Telerik team
answered on 11 Jun 2009, 08:29 AM
Hello Stoney,
The described behavior is due to the RadToolTip's z-index being bigger than the one of the popup calendar of the RadDatePicker as you found yourself. In order to get the desired result, I suggest to set style="z-index: 4999" to the RadToolTip.
I also assume that you would like the calendar popup to hide when the tooltip hides - in ordre to achieve this dcelare the following javascript fundtion:
function BeforeHide()
{
var datePicker = $find("<%=RadDatePicker1.ClientID %>");
datePicker.hidePopup();
}
and set it as a handler to the tooltip's OnClientBeforeHide event.