in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Low Performance of C1DateEdit

Last post 05-26-2008 4:45 AM by RobertL. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 05-01-2008 1:33 PM

    Low Performance of C1DateEdit

    As already mentioned in another post in this forum, I experienced a low performance on instantiating C1DateEdit controls; e.g. 15 C1DateEdit controls on a form take 7 seconds for instantianting in the InitalizeComponent() section of the form (just the lines ' Me.C1DateEdit1 = New C1.Win.C1Input.C1DateEdit') . The same form with 15 WinForms DatePicker controls takes below 50 milliseconds...

    used C1Input version is 2.0.20073.33104

    I tried also pre-release 2.2008.2.33204; here instantiating of C1DateEdit control is much faster, but the part of the designer code that assigns some properties to the Calendar part of the control is very time-consuming - I measured about 0.3 seconds for setting up the properties of one single C1DateEdit control.

    I think this should be investigated... Thanks for reply / support!

    ...after playing around for some hours with this issue, I found the following: When no properties of the Calendar-part of the control are set in the designer code, then performance is ok - but there is a little (acceptable) delay when opening the calendar drop-down for the first time. Perhaps the calendar-properties (set by designer code) should be "cached" in the control instance and applied at first opening the calendar? The little delay is more user-friendly than waiting some seconds until form is shown.

    Another idea: optional ist should be possible to use the calendar of the OS; for example the Vista-Calendar is great and it would be nice to get it in the C1DateEdit.

    btw: Your controls are very good work!

     Regards,
    Robert

     

     

    Filed under:
  • 05-19-2008 12:51 PM In reply to

    • PatD
    • Top 200 Contributor
    • Joined on 11-06-2006
    • Posts 17

    Re: Low Performance of C1DateEdit

    We have a form with many date controls and just updated to the latest C1 controls.  The form went from about a second to a minute to instantiate.

    What is the solution to this problem?

    I'm really surprised that there is no response from C1 on this.

    Pat

     

  • 05-19-2008 5:13 PM In reply to

    Re: Low Performance of C1DateEdit

    Hi, where can I download the pre-release version of C1Input?

  • 05-21-2008 1:55 PM In reply to

    Re: Low Performance of C1DateEdit

    You may download the latest release from following location:
     
    Best Regards,
    Sam Xavier
    <saint168> wrote in message news:205008@10.0.1.98...

    Hi, where can I download the pre-release version of C1Input?



    http://helpcentral.componentone.com/cs/forums/p/75132/205008.aspx#205008

  • 05-26-2008 4:45 AM In reply to

    Re: Low Performance of C1DateEdit

    Hello,

    the performance of the pre-release 2.0.20082.33212 is ok now; I found some features missing now: setting Calendar.TodayText and Calendar.ClearText has no effect, Calendar.ShowWeekNumbers=True has no effect; Calendar-Buttonstyle is not set to Office2007-style. I think you're working on the control, right?

    Regards
    Robert

     

     

Page 1 of 1 (5 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.