The event ValueChange of DateTime Picker is not firing

I am trying to detect when the user changes the date but the value change event does not fire. The version of DateTime Picker that I'm using is 20.1.0.58 but I also tried the last version and is not firing too. 


What I'm doing wrong ?


Attachment: BlazorApp_145d2067.zip

3 Replies 1 reply marked as answer

DR Deepak Ramakrishnan Syncfusion Team July 26, 2022 08:02 AM UTC

Hi Cristian,


We suspect that you are using DatePickerEvents tag for DateTimePicker component is the problem causing factor at your end. So we suggest you to use DateTimePickerEvents tag instead of it , as like below code .



<SfDateTimePicker TValue="DateTime?" Width="400px" CssClass="mb-3 mt-3" Value="@valor">

    <DateTimePickerEvents TValue="DateTime?" ValueChange="(e => OnCambiarFecha(e, 1))"></DateTimePickerEvents>   

</SfDateTimePicker>



Thanks,

Deepak R.


Marked as answer

CP Cristian Plaiu July 26, 2022 08:27 AM UTC

Hi, 


Thanks, seems to work.



SP Sureshkumar P Syncfusion Team July 27, 2022 07:20 AM UTC

Cristian,


Thanks for your update.


Regards,

Sureshkumar P


Loader.
Up arrow icon