Handling RadDateTimePicker.Calendar.DefaultViewChanged event

3 posts, 0 answers
  1. Duane
    Duane avatar
    37 posts
    Member since:
    Sep 2010

    Posted 30 Sep 2010 Link to this post

    Hi Guys,

    Please can any one advise if there is a way to handle the Handling "DefaultViewChanged" event of the RadDateTimePicker's Calendar in the code behind?

    I have tried using...
    AddHandler fdCourseStartDateDateTimePicker.Calendar.DefaultViewChanged, AddressOf fdCourseStartDateDateTimePicker_Calendar_DefaultViewChanged
    ...to hook up to...
    Protected Sub fdCourseStartDateDateTimePicker_Calendar_DefaultViewChanged(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DefaultViewChangedEventArgs) 
        End Sub

    ...but this does not seems to work. Putting a break point in the handler method shows it is never reached.

    Any help appreciated.

    Best regards,

    (Edited to remove Typo!)
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 01 Oct 2010 Link to this post

    Hi Duane,

    The event will fire for the RadDatePicker only of you have autopostback for the calendar component in the DatePicker control. However you could not set autopostback ="true" for the calendar in DatePicker control. I would suggest you to refer use the solution provided in the following code library for overcoming this behavior.

    All the best,
    Maria Ilieva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Duane
    Duane avatar
    37 posts
    Member since:
    Sep 2010

    Posted 08 Nov 2010 Link to this post

    Thank you.
Back to Top