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

Replace Appointment Dialog

2 Answers 44 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
chack
Top achievements
Rank 1
chack asked on 23 May 2011, 12:13 PM
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 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 25 May 2011, 01:48 PM
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
0
chack
Top achievements
Rank 1
answered on 26 May 2011, 02:15 PM
Hi Konstantina,

thank you. That solves my problem.

Greetings

Juergen



Tags
Calendar
Asked by
chack
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
chack
Top achievements
Rank 1
Share this question
or