add custom change event to date picker with jquery

2 posts, 0 answers
  1. Code
    Code avatar
    9 posts
    Member since:
    Aug 2013

    Posted 15 Aug 2013 Link to this post

    Hi
    I have an ASP.Net MasterPage, with a custom control ("uc1') that has a rad date picker in it ( "myCal')

    I want to add a jquery change event on my aspx page but the below code wont work


    $(document).ready(function(){

     $('#myCal').change(function(){
            alert('Found');
     });
     
    });


    Thanks for the help
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Aug 2013 Link to this post

    Hi Code,

    You can easily achieve this by using ClientEvents-OnDateSelected client side event of RadDatePicker.

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

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top