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

Want to customize the look and feel of Schedule View

12 Answers 232 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Vivek
Top achievements
Rank 1
Vivek asked on 04 Aug 2011, 10:25 AM
Hi support,

I want my Schedule View to look like  this. Please let me know how I can change a new Schedule to look exactly like this.

Please guide me or send me some code snippet or zip files. this is very critical because we are dedcing to use Schedule View or not.

Thanks for the help,
Vivek.

12 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 04 Aug 2011, 01:29 PM
Hello Vivek,

All the needed code for the customization of the ScheduleView is in the example. Furthermore, you can go through the source code of the online demos, which are shipped with the installation of the controls. The main points which you need to take into consideration are:
1. There is a custom style applied in order the ScheduleView to be black
2. Custom ViewDefinitions are created with custom grouping
3. There is a custom drag'n'drop behaviour implemented in order to restrict the drag'n'drop of appointments not belonging to the current user.

If you have particular questions about this customization please feel free to ask.

Best wishes,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Vivek
Top achievements
Rank 1
answered on 04 Aug 2011, 03:48 PM
Hi Team,

Thanks for the quick reply. I downloaded the solutions provided by telerik, I  tried to run the first look example it's  not working. it's saying "Could not load file or assembly 'ScheduleView.exe' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."

Can you send me the code with only schedule view  first look example so that I can run and check. Please note this is very important for us please reply ASAP.

Thanks for the help.
Vivek.
0
Konstantina
Telerik team
answered on 05 Aug 2011, 03:10 PM
Hello Vivek,

Please find attached the sample project from the FirstLook example.

Hope this helps.

Greetings,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Vivek
Top achievements
Rank 1
answered on 05 Aug 2011, 04:09 PM
Hi Konstantina,

Thanks for the help. I tired the example but its not runing its saying "Error    1    The type or namespace name 'Examples' does not exist in the namespace 'Telerik.Windows' (are you missing an assembly reference?)    D:\Users\Vivek\Downloads\290616_ScheduleView-CustomViewDefinition\ScheduleView_CustomViewDefinition\obj\x86\Debug\MainWindow.g.cs    43    23    ScheduleView_CustomViewDefinition"


Please help.

Thanks,
Vivek
0
Konstantina
Telerik team
answered on 09 Aug 2011, 01:32 PM
Hi Vivek,

Please open the Appointments.xaml file and delete the following declared assembly:
xmlns:common="clr-namespace:Telerik.Windows.Examples.ScheduleView.Common"

After that the project should build correctly.

Kind regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Vivek
Top achievements
Rank 1
answered on 09 Aug 2011, 10:45 PM
Hi Konstantina ,

Please refer this thread

Thanks,
Vivek.
0
Aziz
Top achievements
Rank 1
answered on 22 Sep 2011, 02:32 PM
I recall that there was a silverlight example of this, it appears to be removed from the online demos and i cant locate it any place. can you provide a download link for this to save me the time of having to port the WPF code over? thanks 
0
Konstantina
Telerik team
answered on 26 Sep 2011, 03:34 PM
Hi Jacob,

Please find attached a sample project which illustrates how to implement custom definition.

Hope this helps.

Best wishes,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Patrick
Top achievements
Rank 2
answered on 17 Oct 2011, 02:21 PM
Hi Konstantina,

It is possible to have the same information in VB please? I presently create a new project and add ScheduleView into it but I need more informations. I take a look at the exemple you have on Internet....but I need just a little bit more informations. In the ScheduleView-CustomViewDefinition.zip you have a file ExampleViewModel, and this file is not on the web site example.

If you could provide me this file in VB it will be verry appreciated!!!!

Thanks
Patrick
Novologik Inc.
0
Konstantina
Telerik team
answered on 20 Oct 2011, 12:57 PM
Hi Patrick,

Please find attached the project in VB.

Hope this helps.

All the best,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Bhupinder
Top achievements
Rank 1
answered on 13 Nov 2014, 03:33 PM
Hi Konstantina,
I am running Visual Studio 2012 and Telerik WPF UI Controls version 2014.2.729.40: When I upgrade the project to 2012 and try to run it, it gives me errors. The first one is listed here:
Could you please provide updated project first look that works with VS 2012 and the latest telerik controls please.

Error    1    The tag 'InvertedBooleanConverter' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView'. Line 1241 Position 10.    C:\ASampleSource\Dummy\290616_ScheduleView-CustomViewDefinition\ScheduleView_CustomViewDefinition\MainWindow.xaml    1241    10    ScheduleView_CustomViewDefinition

0
Yana
Telerik team
answered on 17 Nov 2014, 12:53 PM
Hi Bhupinder,

I have attached the updated project, here are the changes I made:

1. removed common namespace inside Appointments.xaml file as it is not needed.

2. changed "<schedule:InvertedBooleanConverter x:Key="InvertedBooleanConverter" />" to "   <telerik:InvertedBooleanConverter x:Key="InvertedBooleanConverter" />" inside MainWindow.xaml - this change is required as previous we had this converter in both namespaces, now in the latest version it is available in only one place.

3. renamed "DragVisualCueItemTemplate" property of the ScheduleView  to "DragVisualTemplate".

4. removed "ResizeArrowCueItemTemplate" property of the ScheduleView as it is not available anymore.

Hope this helps.

Regards,
Yana
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ScheduleView
Asked by
Vivek
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Vivek
Top achievements
Rank 1
Aziz
Top achievements
Rank 1
Patrick
Top achievements
Rank 2
Bhupinder
Top achievements
Rank 1
Yana
Telerik team
Share this question
or