Radzen Datepicker

Hello There.

I have two fields. JobStartDate and JobExpirationDate. Both are Dates with a DatePicker.

Is there any way to make the JobExpirationDate = JobStartDate + 40?

Also, while making the JobExpirationDate is visible but not editable.


I solved this by making a Change event on the JobStartDate DatePicker Component.

Type: Execute C#

Code: ${object.JobExpirationDate} = ${object.JobStartDate.AddDays(40)}