Unplanned
Last Updated: 13 Aug 2025 11:20 by ADMIN
Martin
Created on: 10 Aug 2025 16:22
Category: TextBox
Type: Feature Request
1
RadTextBox Improve performance when create RadTextBox

When I create 100 TextBox's, it take about 5 ms. So that is 0,05 ms. per TextBox.

When I create 100 RadTextBox's, it takes about 1335 ms. So that is 13,35 ms. per RadTextBox.

That is a factor 267 difference!

I know a RadTextBox is much more complex that a TextBox, it creates many sub controls / instances / objects / etc, but still. I must create 60 miljoen array's of 100 bytes to get the same delay / performance, so object creation cannot be it.

Now I have to requests:

  1. Make the RadTextBox faster (and while you are on it, maybe take a look at the other controls). Maybe with some lazy loading, reusing of objects, etc.
       ...or...
  2. Make the controls resettable. For example: Give them a IResettableControl interface (with method void Reset()). Resetting the control brings it back to it initials state (all properties to their default state, all users event handlers removed from the events, etc.

When option 2 is implemented, the control can be place in a pool an be reused. 

Background info: I create a lot of controls in a "factory" based on an enum ControlType (with elements like TextBox, CheckBox, etc.) This factory could facilitate pooling.

1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 13 Aug 2025 11:20

Hello, Martin,

Thank you for sharing your feedback and test results you have made with RadTextBox.

RadTextBox might be slower when creating compared to MS TextBox, but this is due to additional enhancements and UI elements that RadTextBox offers. RadTextBox internally hosts the MS TextBox as well. I agree with you that there is a point of improvement on this matter, and I approved your feature request (on point 1) to improve performance when creating RadTextBox controls: RadTextBox Improve performance when creating RadTextBox

Regarding point 2, there is no universal "reset" method for Telerik controls. Each control must be reset according to its type and usage. Some controls may offer a Reset method to restore default values, but most require you to manually set properties back to their defaults or unsubscribe from events. Re-initializing the control is also an option if needed. While pooling and reusing controls is a valid scenario, there is currently no built-in solution for this in Telerik controls. We may consider adding such functionality in the future if we receive more requests to introduce such behavior in our controls.

I updated your Telerik Points for providing your honest feedback.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.