This question is locked. New answers and comments are not allowed.
Hi,
In RadScheduleView I have taken RadContextMenu. I have binded RadMenuItem Command with RadScheduleViewCommands.CreateAppointment and IsEnabled property with a View Model property. Initially I am setting IsEnabled to false in my View Model page, but the menu item is getting enabled first time. This is happning because Command's CanExecute property changes IsEnabled property to true.
How can I handle this so that RadMenuItem will enable disable based on my View Model Property from initial stage?
Thanks,
Pushpendra
In RadScheduleView I have taken RadContextMenu. I have binded RadMenuItem Command with RadScheduleViewCommands.CreateAppointment and IsEnabled property with a View Model property. Initially I am setting IsEnabled to false in my View Model page, but the menu item is getting enabled first time. This is happning because Command's CanExecute property changes IsEnabled property to true.
How can I handle this so that RadMenuItem will enable disable based on my View Model Property from initial stage?
Thanks,
Pushpendra