Hi,
Is there any keyboard short cut key to select an appoinment.
What i want is after any 1 appointment is selected in ultraDayView/ultraWeekView and then if user presses Shift+Up/Shift+Down keys the Appoinment above or below should also get selected.
Currently on pressing Shift+Up/Shoft+Down keys the cells of ultraDayView/ultraWeekView gets selected.
Have attached the snap shot of Actual and Expected output
Thanks,
Chitra
Hi Dimitar,
Thanks for your reply, using the Keymapping i was able to perform Shift+Right/Left.
Hello Chitra,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Hi Chitra,
Thank you the reply.
I have modified my sample in order to add conditions for selecting with Shift +Right and Shift +Left. I have used similar approach as the Shift+Up and Shift+Down. It seems that you also need to add KeyActionMappings for when the appointment are selected as otherwise the DayView doesn’t seem to listen for Left and Right key presses. I have also changed my code a bit and it now uses a Stack collection to keep the selected appointments. This allows for easier way to keep which appointment was selected last and it makes it easier to determine which appointment you need to select or deselect (you deselect just the last appointment and select an appointment next to the last selected appointment based on the input).
I have attached my modified sample.
Let me know if you have any additional questions.
This works fine for Shift+Up/Down, I wanted to implement the same with Shift+Right/Left. I wrote the condition for Shift+Right and Shift+Left in the KeyDown event. But it never hits the conditions.
Also i found that i my application has multiple owner and when i am setting the following condition
this.ultraDayView1.GroupingStyle = DayViewGroupingStyle.NoGrouping;
it Hits the Shift+Right and Shift+Left condition in the KeyDown event correctly
But When i am setting following condition
this.ultraDayView1.GroupingStyle = DayViewGroupingStyle.DateWithinOwner;
it does not Hit the Shift+Right and Shift+Left condition in the KeyDown event
Is there any other event which needs to be cancled while using DayViewGroupingStyle.DateWithinOwner because i need to display owner that way i dont need 'DayViewGroupingStyle.NoGrouping'.
Thanks for the explanation and sample, it helped a lot and got the result as expected.