Want to customize the look and feel of Schedule View

13 posts, 0 answers
  1. Vivek
    Vivek avatar
    50 posts
    Member since:
    Jul 2011

    Posted 04 Aug 2011 Link to this post

    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.
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 04 Aug 2011 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Vivek
    Vivek avatar
    50 posts
    Member since:
    Jul 2011

    Posted 04 Aug 2011 Link to this post

    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.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 05 Aug 2011 Link to this post

    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 >>
  6. Vivek
    Vivek avatar
    50 posts
    Member since:
    Jul 2011

    Posted 05 Aug 2011 Link to this post

    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
  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 09 Aug 2011 Link to this post

    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 >>
  8. Vivek
    Vivek avatar
    50 posts
    Member since:
    Jul 2011

    Posted 09 Aug 2011 Link to this post

    Hi Konstantina ,

    Please refer this thread

    Thanks,
    Vivek.
  9. Aziz
    Aziz avatar
    32 posts
    Member since:
    Sep 2011

    Posted 22 Sep 2011 Link to this post

    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 
  10. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 26 Sep 2011 Link to this post

    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 >>
  11. Patrick
    Patrick avatar
    31 posts
    Member since:
    Aug 2011

    Posted 17 Oct 2011 Link to this post

    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.
  12. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 20 Oct 2011 Link to this post

    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 >>
  13. Bhupinder
    Bhupinder avatar
    1 posts
    Member since:
    Jul 2014

    Posted 13 Nov 2014 in reply to Konstantina Link to this post

    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

  14. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 17 Nov 2014 Link to this post

    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.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready