Replace Appointment Dialog

3 posts, 0 answers
  1. chack
    chack avatar
    2 posts
    Member since:
    Sep 2006

    Posted 23 May 2011 Link to this post

    Hi Telerik,

    i need my own Edit Appointment Event. A popup Window is not a option.
    So i change the EditAppointment Style 

    <ControlTemplate TargetType="telerik:ChromeControl">
        <Grid>
            <telerik:CommandManager.InputBindings>
                <telerik:InputBindingCollection>
                    <telerik:MouseBinding Command="local:MyCommands.Copy" Gesture="LeftDoubleClick"/>
                    <!-- <telerik:MouseBinding Command="telerikScheduler:RadSchedulerCommands.EditAppointment" 
    			Gesture="LeftDoubleClick"/>-->
                </telerik:InputBindingCollection>
            </telerik:CommandManager.InputBindings>

    	
        public static class MyCommands
        {
            public static readonly RoutedCommand EditMe = new RoutedUICommand("EditData""EditMyData"	typeof(MyCommands));
            public static void EditMyData(object sender, ExecutedRoutedEventArgs e)
            {
                MessageBox.Show("Edit");
            }
        }
    


    Now no appointments are displayed  the scheduler is empty. I don't get an error?. 

    greets

    jürgen
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 25 May 2011 Link to this post

    Hello Jürgen,

    Please find attached a sample project which illustrates how to achieve this.

    Hope this will help.

    Greetings,
    Konstantina
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. chack
    chack avatar
    2 posts
    Member since:
    Sep 2006

    Posted 26 May 2011 Link to this post

    Hi Konstantina,

    thank you. That solves my problem.

    Greetings

    Juergen



Back to Top