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

close the calender popup in mouse leave

2 Answers 65 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 2
Mohammed asked on 04 Sep 2012, 04:13 PM
Hi Team,
I need to close the calender popup when the mouse leave it.
regards,

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Sep 2012, 03:26 AM
Hi Mohammed,

Following is the sample code that I tried to close the calendar popup when mouse leave it.

ASPX:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server">
</telerik:RadDatePicker>

JS:
<script type="text/javascript">
    $(document).ready(function () {
        $("#RadDatePicker1_calendar").mouseleave(function () {
            debugger;
            var RadDatePicker1 = $find("<%=RadDatePicker1.ClientID %>");
            RadDatePicker1.hidePopup();
        });
    });
</script>

Hope this helps.

Regards,
Princy.
0
Mohammed
Top achievements
Rank 2
answered on 05 Sep 2012, 09:46 AM
thanks very much Princy,
Tags
Calendar
Asked by
Mohammed
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Mohammed
Top achievements
Rank 2
Share this question
or