This is a migrated thread and some comments may be shown as answers.

MonthViewDefinition BUG

1 Answer 34 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Robi
Top achievements
Rank 2
Robi asked on 29 Aug 2013, 12:57 PM

I've an problem with my MonthView. When I open / create an new Appointment on MonthView, it takes 2 days (startdate + 1) but i just want 1 day. On the WeekView i don't have this problem. But it doesn't work when i say in the View:

<telerik:MonthViewDefinition Title="Month" DayStartTime="00:00" DayEndTime="23:59"  />

Where can I set that it takes just 1 day.. ??

<telerik:RadScheduleView AppointmentDeleting="ScheduleViewBase_OnAppointmentDeleting"
                         AppointmentStyleSelector="{StaticResource AppointmentStyleSelector}"
                         AppointmentsSource="{Binding OrderAppointments}"
                         CurrentDate="{Binding CurrentDate,   Mode=TwoWay}"
                         EditAppointmentDialogStyle="{StaticResource EditAppointmentDialogStyle}"
                         FirstDayOfWeek="Monday"
                         SelectedAppointment="{Binding SelectedOrder,  Mode=TwoWay}"
                         SpecialSlotStyleSelector="{StaticResource SpecialSlotStyleSelector}"
                         SpecialSlotsSource="{Binding SpecialSlots, UpdateSourceTrigger=PropertyChanged}">
 
    <telerik:RadScheduleView.ViewDefinitions>
        <telerik:WeekViewDefinition Title="Week"
                                    DayEndTime="23:59:59"
                                    DayStartTime="23:59:58"
                                    FirstDayOfWeek="Monday"
                                    ShowAllDayArea="True"
                                    ShowTimeRuler="False"
                                    ShowWeekGroupHeaders="True"
                                    VisibleDays="5"
                                    WeekGroupHeaderStringFormat="Week{0}" />
 
        <telerik:MonthViewDefinition Title="Month" DayStartTime="00:00" DayEndTime="23:59"  />
 
    </telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>

Regards,
Robi

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 03 Sep 2013, 08:01 AM
Hello Rob,

I've replied in the other ticket regarding similar question, you can check it at the following link:
http://www.telerik.com/community/forums/silverlight/general-discussions/radscheduleview-monthview.aspx

Regards,
Yana
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
Robi
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or