All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
public ScenarioScheduler()
{
InitializeComponent();
CommandManager.AddPreviewExecutedHandler(this, OnCommandExecuted);
}
string commandName;
private void OnCommandExecuted(object sender, ExecutedRoutedEventArgs e)
commandName = (e.Command as RoutedCommand).Name;
private void radScheduler_ShowDialog(object sender, ShowDialogEventArgs e)
if (!commandName.Equals("DeleteAppointment"))
e.Cancel = true;