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

Mouse client events

2 Answers 32 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 05 Sep 2012, 08:06 PM
Not sure if I am missing something but is it possible to add a mouse double click event to the radinput textbox of a calendar control?  Thanks!

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Sep 2012, 04:12 AM
Hi Mark,

Try the following JQuery to achieve your scenario.

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

JS:
<script type="text/javascript">
    $(document).ready(function (event) {
        $('#RadDatePicker1_dateInput').dblclick(function () {
            alert("textbox double clicked");
        });
    });
</script>

Hope this helps.

Regards,
Princy.
0
Mark
Top achievements
Rank 1
answered on 06 Sep 2012, 01:14 PM
Perfect!  Thank you very much Princy!
Tags
Calendar
Asked by
Mark
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Mark
Top achievements
Rank 1
Share this question
or