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

RadSchedule View Loaded event

3 Answers 110 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Vikas
Top achievements
Rank 1
Vikas asked on 16 Jul 2015, 03:29 PM

I am using RadTab Control and one of the tab item host a Rad Schedule view, I have a event handler for calendar loaded event.

I want the event to be called only for the first time the tab is loaded, for that i have set IscontentPreserved = true for the tab control, but still the loaded event gets called every time.

Vikas

 

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 20 Jul 2015, 12:09 PM
Hi Vikas,

I tested your several variations of your scenario but I was not able to reproduce the described behavior. Can you please, send me a runnable code that demonstrates your implementation? Can you also tell me for the Loaded event of which calendar control you are subscribing and how you are doing it? This will help me in better understanding your case and assist you further.

As a side note, our forums doesn't allow uploading of .zip files, so if you decide to send us a project you can do it in a new Support Ticket.

Thank you for any help you can provide.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Vikas
Top achievements
Rank 1
answered on 21 Jul 2015, 06:54 PM

Hi Martin,

I am using Loaded event of RadScheduleView

<scheduleView:RadScheduleView DataContext="{Binding PinnedRadScheduleDay}" NavigationHeaderVisibility="Collapsed" Width="15" AppointmentsSource="{Binding Appointments}"                                        
                    ResourceTypesSource="{Binding AllResourceTypes}" GroupDescriptionsSource="{Binding GroupDescriptions}"
                   PreviewMouseWheel="RadScheduleView_PreviewMouseWheel" Loaded="RadScheduleView_Loaded" ​

 

and this is tabcontrol declaration:

<telerik:RadTabControl x:Name="uxSchedulingTabControl" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" IsContentPreserved="True"

I will open a ticket after creating a sample application.

Vikas
0
Martin Ivanov
Telerik team
answered on 23 Jul 2015, 06:55 AM
Hi Vikas,

Thank you for the additional information. I tested your code snippets but the scheduleview's Loaded event is fired only the first time when its tab is selected. I will wait for the sample project that you mentioned and as soon you send it I will check it on my side, and investigate what is causing the described behavior.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Vikas
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Vikas
Top achievements
Rank 1
Share this question
or