Mouse client events

3 posts, 0 answers
  1. Mark
    Mark avatar
    2 posts
    Member since:
    Sep 2012

    Posted 05 Sep 2012 Link to this post

    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. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 05 Sep 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark
    Mark avatar
    2 posts
    Member since:
    Sep 2012

    Posted 06 Sep 2012 Link to this post

    Perfect!  Thank you very much Princy!
Back to Top