Hi support,
With old DLLs of schedulerView I had implemented a functionality that if user double click in week mode then schedulerView day mode will open for that particular day in which user had clicked.
Now with new DLLs I am getting an error in this functionality. The error comes in one condition only when i use keyboard. If I double click using mouse in week mode then it simply redirected to that particular day and day mode is open.
But if I use keyboard and press key in week mode then it creates a appointment there and then as per my logic it redirect to day mode, But I am using my custom appointment class. So Appointment is not type cast to my custom appointment till there isn't any entry for the temporary created appointment in DB.
Problem occurs is this temporary appointment created. But one thing I have noticed there if I use mouse and double click in week then it redirects to day mode but just for a second temporary appointment seen there but it will gone after that and not getting any error.
If I use keyboard for such functionality then it gives error and temporary appointment is shown there on scheudlerView.
Edit:
As I debug the code find out that If I use mouse to redirect from week to day mode then two methods called creating and created.
For keyboard its called 4 events. creating,created,editing and edited. In editing and edited event I use type cast of my own class. So there it gives an error.
Can you give me any idea y it call editing event when I press enter and why editing not called if i use mouse double click? How can I prevent it.
With old DLLs of schedulerView I had implemented a functionality that if user double click in week mode then schedulerView day mode will open for that particular day in which user had clicked.
Now with new DLLs I am getting an error in this functionality. The error comes in one condition only when i use keyboard. If I double click using mouse in week mode then it simply redirected to that particular day and day mode is open.
But if I use keyboard and press key in week mode then it creates a appointment there and then as per my logic it redirect to day mode, But I am using my custom appointment class. So Appointment is not type cast to my custom appointment till there isn't any entry for the temporary created appointment in DB.
Problem occurs is this temporary appointment created. But one thing I have noticed there if I use mouse and double click in week then it redirects to day mode but just for a second temporary appointment seen there but it will gone after that and not getting any error.
If I use keyboard for such functionality then it gives error and temporary appointment is shown there on scheudlerView.
Edit:
As I debug the code find out that If I use mouse to redirect from week to day mode then two methods called creating and created.
For keyboard its called 4 events. creating,created,editing and edited. In editing and edited event I use type cast of my own class. So there it gives an error.
Can you give me any idea y it call editing event when I press enter and why editing not called if i use mouse double click? How can I prevent it.