# Scheduler Crud Pages Template Add Date Page error

**URL:** <https://forum.radzen.com/t/scheduler-crud-pages-template-add-date-page-error/3880>\
**Category:** Blazor Server\
**Created:** [June 10, 2020, 4:12pm UTC](https://forum.radzen.com/t/scheduler-crud-pages-template-add-date-page-error/3880 "2020-06-10T16:12:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbarker](https://forum.radzen.com/letter_avatar_proxy/v4/letter/d/82dd89/32.png) [@dbarker](https://forum.radzen.com/u/dbarker)\
**Post date:** [June 10, 2020, 4:12pm UTC](https://forum.radzen.com/t/scheduler-crud-pages-template-add-date-page-error/3880/1 "2020-06-10T16:12:40Z")

</div>

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.  
Dave

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [June 10, 2020, 4:54pm UTC](https://forum.radzen.com/t/scheduler-crud-pages-template-add-date-page-error/3880/2 "2020-06-10T16:54:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dbarker](https://forum.radzen.com/letter_avatar_proxy/v4/letter/d/82dd89/32.png) [@dbarker](https://forum.radzen.com/u/dbarker)\
**Post date:** [July 2, 2020, 1:17am UTC](https://forum.radzen.com/t/scheduler-crud-pages-template-add-date-page-error/3880/3 "2020-07-02T01:17:56Z")

</div>

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.

Thanks
