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

RadDatePicker on a RadToolTip

1 Answer 66 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
stoneym
Top achievements
Rank 1
stoneym asked on 05 Jun 2009, 04:55 PM
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

Sort by
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.


Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
stoneym
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or