Problem with new build DLLS

3 posts, 0 answers
  1. Hardik
    Hardik avatar
    61 posts
    Member since:
    Jun 2011

    Posted 06 Jul 2011 Link to this post

    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.


    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.
  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 07 Jul 2011 Link to this post

    Hello Hardik,

    To prevent the ScheduleView from creating an appointment when the user presses any key you need to set IsInlineEditingEnabled="false" on RadScheduleView.

    I think that you asked about the same thing in another ticket - please, let's keep the same questions in the same thread, because it is very hard to keep track on the requests we have.

    Kind regards,
    Valeri Hristov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Hardik
    Hardik avatar
    61 posts
    Member since:
    Jun 2011

    Posted 07 Jul 2011 Link to this post

Back to Top