Theming C1DateEdits

Posted by: mike on 4 September 2019, 7:05 am EST

    • Post Options:
    • Link

    Posted 4 September 2019, 7:05 am EST

    Theming a C1DateEdit control using C1ThemeController - whether the one from C1Input or from Calendar - takes an awfully long time. In my tests, about 0.25 seconds in design time or 0.17 seconds at run time.

    Is that what is expected or is there something that can be done about the speed?

  • Posted 4 September 2019, 7:04 pm EST

    Hello,

    The time taken in applying theme on any control whether at design time or at run time is totally dependent on your system performance.

    So it could be possible that the observations on different systems may come different.

    Regards,

    Prabhat Sharma.

  • Posted 5 September 2019, 12:15 am EST

    Wll yes, true, but applying themes to other controls takes 1/10th or less of the time it takes for C1DateEdit.

  • Posted 5 September 2019, 9:07 pm EST

    Hello,

    Others controls also take almost the same time and the little extra time taken by C1DateEdit is due to calendar initialization, this is by design.

    I suggest you to use CalendarView’s C1DateEdit as it has better performance than C1Input’s C1DateEdit and it is a new control.

    If you need any other help, please let us know.

    Regards,

    Prabhat Sharma.

  • Posted 6 September 2019, 5:48 am EST

    Thank you. I guess theming is just… expensive.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels