Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Migration from RadScheduler to RadScheduleView

Migration from RadScheduler to RadScheduleView

Scheduled Pinned Locked Moved WPF
helpcsswpfwcfperformance
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeyakumarbics1
    wrote on last edited by
    #1

    HI, I am migrating from RadShceduler control from RadScheduleView for some performance problem. The requirement is to invoke the appointment create event in single click. In scheduler we have the TimeSloteItem which is not in RadScheduleView. I created a control template for timeslotitem and had the inputbindings to invoke the radscheduler appointment create event. I dont know how to achieve this in RadScheduleView. Plz Help... I used the following style.. <Style x:Key="AllDayTimeSlotStyle" TargetType="{x:Type telerik1:TimeSlotItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type telerik1:TimeSlotItem}"> <Grid x:Name="LayoutRoot"> <Grid.InputBindings> <MouseBinding MouseAction="LeftClick" Command="commands:SchedulerCustomCommands.CreateAppointment" CommandParameter="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}}" /> </Grid.InputBindings> . . . . . </ControlTemplate> </Setter.Value> </Setter> </Style>

    M M 2 Replies Last reply
    0
    • J Jeyakumarbics1

      HI, I am migrating from RadShceduler control from RadScheduleView for some performance problem. The requirement is to invoke the appointment create event in single click. In scheduler we have the TimeSloteItem which is not in RadScheduleView. I created a control template for timeslotitem and had the inputbindings to invoke the radscheduler appointment create event. I dont know how to achieve this in RadScheduleView. Plz Help... I used the following style.. <Style x:Key="AllDayTimeSlotStyle" TargetType="{x:Type telerik1:TimeSlotItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type telerik1:TimeSlotItem}"> <Grid x:Name="LayoutRoot"> <Grid.InputBindings> <MouseBinding MouseAction="LeftClick" Command="commands:SchedulerCustomCommands.CreateAppointment" CommandParameter="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}}" /> </Grid.InputBindings> . . . . . </ControlTemplate> </Setter.Value> </Setter> </Style>

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      I find telerik support absolutely excellent for their controls, generally a sample app appears to solve most issues. Have you tried their forums.

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      • J Jeyakumarbics1

        HI, I am migrating from RadShceduler control from RadScheduleView for some performance problem. The requirement is to invoke the appointment create event in single click. In scheduler we have the TimeSloteItem which is not in RadScheduleView. I created a control template for timeslotitem and had the inputbindings to invoke the radscheduler appointment create event. I dont know how to achieve this in RadScheduleView. Plz Help... I used the following style.. <Style x:Key="AllDayTimeSlotStyle" TargetType="{x:Type telerik1:TimeSlotItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type telerik1:TimeSlotItem}"> <Grid x:Name="LayoutRoot"> <Grid.InputBindings> <MouseBinding MouseAction="LeftClick" Command="commands:SchedulerCustomCommands.CreateAppointment" CommandParameter="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}}" /> </Grid.InputBindings> . . . . . </ControlTemplate> </Setter.Value> </Setter> </Style>

        M Offline
        M Offline
        Michal Zalewski
        wrote on last edited by
        #3

        Hi Jeyakumarbics1, You don't need to create new template for TimeSlotItem. You need to attach function to MouseLeftButtonUp of RadScheduleView and in body of this function you need to create and execute CreateAppointment command.

            private void ScheduleView\_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
            {
                System.Windows.Input.RoutedUICommand createAppointment = RadScheduleViewCommands.CreateAppointment;
                createAppointment.Execute(null, this.ScheduleView);
            }
        

        www.mzalewski.net

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups