The first-time control initialization is very slow

Posted by: dung.itcdt on 14 May 2026, 9:14 pm EST

    • Post Options:
    • Link

    Posted 14 May 2026, 9:14 pm EST - Updated 14 May 2026, 10:56 pm EST

    I am using the WinForms DLL version 20233.631. However, on the first run, initializing a single TextBox control takes nearly 1 second. This causes the application’s UI to freeze, creating an unpleasant experience for users. After checking the code, I found that the delay is caused by the license verification process. Is there any way to improve the performance as much as possible without upgrading the DLL version?

  • Posted 15 May 2026, 5:44 am EST

    Hi,

    Thank you for sharing the details.

    We tested the performance behavior you described by initializing a C1TextBox object using version 4.8.20233.631. Unfortunately, we were unable to reproduce the issue you are experiencing.

    • For the first C1TextBox instance, initialization took approximately 180-220 milliseconds. This behavior is expected because, during the first initialization, the class loads its static resources and also performs a license validation check.

    • From the second instance onward, initialization took approximately 0-1 milliseconds, which is also expected since the static resources have already been initialized and the licensing check has already been completed.

    We have attached a sample project demonstrating this behavior. If you are experiencing performance issues with a different implementation, please update the sample project to reproduce the issue so that we can investigate it further.

    TextBoxPerformanceTest.zip

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels