Double click on RadScheduleView does not open create new dialog

24 posts, 0 answers
  1. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 23 Feb 2011 Link to this post

    Hello,
    I'm using version:
    Telerik-Windows-Controls-ScheduleView-Ref-2010-3-1314.zip

    The problem I have is that double click on RadScheduleView does not open create new dialog.
    When I add appoitments by code I cannot edit them with a double click. What am I missing?

    I can see that sometime I'm able to edit an existing appointment (created by code) by click very fast everywhere, but I was not able to figure out the working schema. But clicking in the grid to add new appoitment does definitely not work (not that we can say that edit is woring).

    I know, it's beta, but you are taking feeback, right?

    Also, I have trouble translation the controls.

    Is there something I need to do to use the default culture?

    See the attached screenshot. My default culture is FR. Only the top right date is in french.

    Also, the text does not pick up my translations that I have put in my CustomLocalizationManager :
    public class CustomLocalizationManager : LocalizationManager
    {
        //takes care of missing translation strings
        //TODO remove this in next telerik lib update
        public override string GetStringOverride(string key)
        {
            switch (key)
            {
                //ScheduleView
                case "Timeline":
                    return "Ligne de temps";
                case "Day":
                    return "Jour";
                case "Week":
                    return "Semaine";
                case "Month":
                    return "Mois";
                case "SaveAndCloseCommandText":
                    return "Speichern & Sliessen";
                case "EditRecurrence":
                    return "Serie bearbeithen";
                case "Categories":
                    return "Categories";
            }
            return base.GetStringOverride(key);
        }
    }

    None of those keys are picked up. The only keys I see come trought are keys like EditAppointment and SetMonthViewMode for exemple.

    Now a question... How can I force the resize of an appointment to stick to a diffrent unit then a minute ? half an hour for exemple ?

    I'm starting a project, should I use RadSchedule instead of RadScheduleView and way a couple of weeks that your control is ready or is this coming fast?

    Thank you for your help,
    John.
  2. XamlmaX2
    XamlmaX2 avatar
    31 posts
    Member since:
    Jul 2012

    Posted 24 Feb 2011 Link to this post

    I would stick with the RadScheduleView over the RadScheduler - it seems a lot better so far.
    I had a similar problem, but I think it was because my custom appointment objects implemented IAppointment rather than inheriting from Appointment. Might be worth checking that.
  3. DevCraft banner
  4. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 24 Feb 2011 Link to this post

    Hello XamlmaX,
    Thanks for checking in... I'm using the standard Appointment objects so far.
    And without the possibility of adding or creating an appointment, the control is pretty useless...

    If there is a new build correcting the problems next week. I can wait, if not, I'll use the RadSchedule...

    Any hints someone?
    Thanks,
    John.
  5. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 25 Feb 2011 Link to this post

    I have not seen the behaviour you are talking about, and I have used the pre-beta version of RadScheduleView for several weeks now. I know that there is a bug which causes the radscheduleview to not react to the very first click. But once you have clicked in the main schedule area and thus focused the control, it reacts fine to double clicks. Have you tried this with a plain minimum-settings RadScheduleView and confirmed that it still does not react to the double clicks?

    This is the original bug that I reported:
    http://www.telerik.com/community/forums/silverlight/scheduleview/bug-navigation-buttons-only-work-on-the-second-click.aspx

  6. Mike
    Mike avatar
    34 posts
    Member since:
    Jan 2010

    Posted 25 Feb 2011 Link to this post

    On my side, it did happen to me in the past.

    The reason was: I had a huge bunch of code on the mouse up event in my usercontrol containing the radscheduleview. This event was eating a lot of cpu time which broke the double click event.

    Refactoring my code  fixed my double click on the radscheduleview.

    I don't know if it's your case

    I hope it can help.

    Mike
  7. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 27 Feb 2011 Link to this post

    Hello guys...
    Thank you for your help bt it's nothing like you say...
    I have a very simple project.
    And by the way the demos from the pre-beta release do not work either...
    Anybody from telerik listening?

    I found a way to edit or add new appointments...
    You have too click like crazy at the edge of a time slot and while clicking you have to go from one zone to the other.
    This let you add a new appointment or edit one...
    See my screenshot to see what I mean...
    Start clicking on one side of the line, then while clicking move the cursor to the other side of the line.
    This will add a new one...

    Obvioulsy a bug and also it's not working the same in the demos from the latest pre-beta...
    John.
  8. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 28 Feb 2011 Link to this post

    By the way, I'm using the latest 4.0.60129.0 silverlight version.
    I wanted to test the previous version but I don't know how to downgrade to a previous version (where can I download it?)
    Have you tested that version of silverlight?

    Anyway, my problem is pretty obvious, it's not working in my project, neither are the demos...

    Nobody has the problem?

    John.
  9. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 28 Feb 2011 Link to this post

    I am running the same Silverlight version, and I have no problem creating appointments by double clicking in the two demos where you have taken your screen shots. I tried switching to the Dutch date time format in Windows to see if it was related to the culture setting on the thread, but still could not reproduce it. Have you tried using different browsers?
  10. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 28 Feb 2011 Link to this post

    Following your advice I did try other browsers and while making tests I found what the problem is...

    The problem is that what I take for a double click is too fast for the ScheduleView control...

    It's really more two fast clicks than a double click. My double click is exactly the one that I use to launch a program for exemple...
    And this is too fast for the schedule view... If I click two times, slower, then I agree, it dooes add and edit appointments...

    I look a bit dumb about that fact but nonetheless I think that now I know it, still the double click is not natural at all. And every once in a while it does not work...

    What do you think? Can you try double clicking faster to see if you have the same problem then I do?
    Does the click sees natural to you?

    In fact I did notice that because in IE the demos seemed to run slower and thus I was able to edit/add much ofter then in my other browser (chrome), that's how I found out that I was clicking too fast...

    ps: dear telerik, can the double click delay be adjusted? this one does not feel the same as all the other double clicks I know... 
  11. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 01 Mar 2011 Link to this post

    Man, you must have a fast double click. If Usain Bolt could see you double click, his jaw would drop to the ground in awe. :) I have tried double clicking as fast as I possibly can in the ContextMenu demo (the beta), and no matter what I do the control responds as expected. Are you by any chance sitting on a really slow computer?
  12. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 01 Mar 2011 Link to this post

    Hi John,

    We are not able to reproduce the problem on our side. I tried to click as fast as possible but everything is working fine. Maybe this is related to something specific in your environment. What is your OS and browser and also is it a virtual machine to test this.

    Kind regards,
    Boyan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  13. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 01 Mar 2011 Link to this post

    Hello Guys,
    I don't think my computer is very slow.

    It's a DELL 1340, Core 2 Duo, 2,67GHz
    6GB Memory.
    250 GB SSD

    It's running windows 7 x 64 Ultimate. No virtual machine...

    I tried this with several browsers. At least IE 8, Chrome (latest) FF 3,6
    Anwyay, they should be no difference thanks to silverlight, right?

    Than it's SL version 4.0.60129.0.

    What can I say else, I'm not crazy ;)

    Boyan, maybe you could point me to another demo in the online beta that uses the double click paradigm to open a dialog.
    That would let me check if the problem is related to the RadScheduleView or if it's something else...

    Thanks,
    John.
  14. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 01 Mar 2011 Link to this post

    Have you tried the old RadScheduler component? That is also available in the beta demos. You could also try the current WPF demo of RadScheduleView. And perhaps you should try it on a different machine. But you are right, your machine is definitely not slow.
  15. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 01 Mar 2011 Link to this post

    I'm doomed. It's doing the same :(
    silly me I didn't think about trying that...
    My problem remains...
    I'll have to try this on other computers and I'll come back to you...
    Maybe I'll try to update my graphical driver...

    Thanks for your help and support ;)
  16. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 03 Mar 2011 Link to this post

    Hi John,

    I have the exact same OS and SL version here. This is a very strange problem and it looks to me that it is coming from something in your configuration, but nothing comes to my mind. Are you by any chance using a custom software/drivers for your mouse and not Windows default.

    Best wishes,
    Boyan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  17. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 03 Mar 2011 Link to this post

    Hello Boyan,
    Thanks for confirming you don't have the problem...
    I'll make more tests and come back to you ASAP,
    John.
  18. Montanner
    Montanner avatar
    2 posts
    Member since:
    Jan 2011

    Posted 19 Mar 2011 Link to this post

    We have the same problem - however we only get the problem when we host on Windows 2008 Server STD with IIS7.

    There is now problem on a development PC running Windows 7 & IIS 7
  19. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 24 Mar 2011 Link to this post

    Hello Antony,

     I tested the application hosted on Windows 2008 STD with IIS 7 but was not able to reproduce the issue. In fact our demos are also hosted on Windows Server 2008 R2 but with IIS 7.5.  Do you have something specific in your application, some kind of styles or else. Have you tried if the same behavior occurs if you host a plain simple RadscheduleView.

    Kind regards,
    Boyan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  20. Steve
    Steve avatar
    36 posts
    Member since:
    Feb 2011

    Posted 24 Mar 2011 Link to this post

    We have the problem on Windows Server 2008 & IIS7 but have found it only occurs if we browse the site from the actual server. If we browse the site on the server from a client machine then there is no problem.

    We have hosted a simple page with a standard RadScheduleView control on and the same occurs, it can be browsed from client machines but not on the server.

    As we do not intend to browse the site from the server I am happy that we do not require any more help with this problem.

    Many thanks

    Tony
  21. Naing
    Naing avatar
    2 posts
    Member since:
    Aug 2010

    Posted 08 Sep 2011 Link to this post

    I know this thread has been dead for a while but i just wanted to add that I experienced the same issue when I used an ObservableCollection<IAppointment> as the datasource  for the RadScheduleView. So basically the control will display existing data that you populate into the  ObservableCollection<IAppointment> programatically but won't let you create new appointments. I just went back to using   ObservableCollection<Appointment>  and that solved the issue. Hope that helps anybody else having the same problem.
  22. Chrissy
    Chrissy avatar
    1 posts
    Member since:
    Sep 2011

    Posted 08 Sep 2011 Link to this post

    Thank You! That's exactly what I was doing wrong. Never would have found it.
  23. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 09 Sep 2011 Link to this post

    Hello Naing,
    Thank you for adding to that thread even if it's an old one. Good spirit.

    Your hint does not change anything for me. I really had a problem editing existing entries by double clicking on them. I was using Appointment and not IAppointment since the beginning...

    If what you say is true, then I suggest you open a case with support as this should not happen.

    I just made the test and changed all my Appointment to IAppointment and the double click is still working. No problem.

    As for me, the problem is gone with the last version. Maybe the version before... I can tell as I'm not using the double click anymore since I had trouble with it. But just before testing your suggestion, I made a new test and now the edit on double click is working like a charm. By default...

    So, my problem was solved by one of the last releases... Good ;)

    John.



  24. Naing
    Naing avatar
    2 posts
    Member since:
    Aug 2010

    Posted 12 Sep 2011 Link to this post

    Hi
    I forgot to mention that I am running the Q1 2011 SP1 and not the latest released version of Telerik controls for Silverlight. We hadn't upgraded since there are a couple of systems running on shared libraries which in turn are running on top of this version. I will make sure to test this scenario on the latest version of Telerik as soon as I get a chance.
  25. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 12 Sep 2011 Link to this post

    ok, yes, it would be really nice to see if the problems goes away with the latest version.
    That way, I'll know that something was corrected and that the probleme was indeed, there ;)
    Thanks you,
    John.
Back to Top
DevCraft banner