Scheduler Crud Pages Template Add Date Page error

When you using the Scheduler CRUD pages template.
I get this error when running.

dotnet: Pages\AddScheduleDate.razor.designer.cs(77,83): error CS1912: Duplicate initialization of member 'StartDate' [D:\Radzen\MyApp\server\MyApp.csproj]

If I manual edit this file and change this line.

protected async System.Threading.Tasks.Task Load()
            scheduledate = new MyAppModels.MyApp.ScheduleDate {StartDate = Start,StartDate = End};

To this it will run and works ...

protected async System.Threading.Tasks.Task Load()
            scheduledate = new MyApp.Models.MyApp.ScheduleDate {StartDate = Start,EndDate = End};

But each time I run the application it keeps changing it back to StartDate=End instead of EndDate=End

I also can't figure out how to make the calendar use the whole page. It only uses about the top half.

Thanks for any help.

Indeed there is a problem with the wizard. We will fix it with the next release. Meanwhile you can just update the Set property action in Radzen's designer instead of editing the generated code.

You can set the Height of the scheduler from the Style tab of the property grid.

1 Like

Sorry for not understanding. I was just waiting for it to get fixed but I don't understand what you mean by "Set Property" action in the Radzen's designer.