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

Problem with scheduler view

7 Answers 69 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 19 Oct 2011, 09:16 AM
Hi

The newly added appointments are not displaying as an individual horizontal bars at their schedule time slots. instead it was displaying vertically

This would be fixed if you click day button then click week button again.

any thoughts on how to fix this issue.

attached is the screenshot.

Mico

7 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 24 Oct 2011, 08:04 AM
Hello Manuel,

I've tried to reproduce the described behavior but without success. It would be of great help if you could send us a short video (you can use Jing) showing the exact steps to reproduce the problem.
 Also which version of the controls you're using?

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Manuel
Top achievements
Rank 1
answered on 24 Oct 2011, 08:12 AM
Hi Yana

I am afraid that i cannot send a video because it is a private project. Anyway the rad scheduler is inside a xaml page. we used the MVVM design pattern and also we use prism.

For the version i think its the latest one.

For the exact steps.
1. Add a schedule example 8:15 am to 8:30 am
2.Add again another schedule 8:30 am to 8:45 am

That would display the attached image in my first post.

thanks
0
Yana
Telerik team
answered on 25 Oct 2011, 02:29 PM
Hello Mico,

We will be happy to help but we need to reproduce the problem at our side. Please try to isolate it in a simpler project and send us the code. Thanks

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Manuel
Top achievements
Rank 1
answered on 26 Oct 2011, 03:09 PM
Hi Yana

I cannot do that on a simplier project.

I would appreciate if you can give me a work around regarding the issue.

Is there any way to refresh the data of the  appointment template inside the scheduler?

Or how can i call the code that initialize the scheduler?

As i have earlier this bug can be fixed by clicking the day button and clicking back again the week button. but that is an ugly fixed. Is there a much more better way to do this?

Thanks

Mico
0
Yana
Telerik team
answered on 27 Oct 2011, 09:13 AM
Hi Mico,

You can try to reset the template of the Scheduler as in the Localization example:

private void ResetTemplate()
{
    ControlTemplate template = this.scheduler.Template;
    this.scheduler.Template = null;
    this.scheduler.Template = template;
}


Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Manuel
Top achievements
Rank 1
answered on 28 Oct 2011, 08:27 AM
Hi Yana

I already tried the code but it doesn't work.

This code would do the fix but it is an ugly fixed.

scheduler.ViewMode = SchedulerViewMode.Day;
scheduler.ViewMode = SchedulerViewMode.Week;

Any suggestions on how to attain the scheduler refresh without doing the above code?

Regards

Mico
0
Yana
Telerik team
answered on 31 Oct 2011, 10:34 AM
Hello Mico,

I am afraid that we're not able to provide a better solution without reproducing the problem at our side.

Greetings,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ScheduleView
Asked by
Manuel
Top achievements
Rank 1
Answers by
Yana
Telerik team
Manuel
Top achievements
Rank 1
Share this question
or