This is a migrated thread and some comments may be shown as answers.

RadNumericTextBox - is not efficient !!!

1 Answer 51 Views
Input
This is a migrated thread and some comments may be shown as answers.
tomss
Top achievements
Rank 1
tomss asked on 05 Nov 2008, 10:49 AM
I have grid... and in this a grid is column "quantity". In comlun I have control - RadNumericTextBox witch SpinButtons. If a grid  have 25 rows... my page request size is 200 000 KB... if I replace RadNumericTextBox on Label size is 100 000KB.  What I have doing, that  RadNumericTextBox was effecient ?

1 Answer, 1 is accepted

Sort by
0
Kevin Babcock
Top achievements
Rank 1
answered on 06 Nov 2008, 12:39 AM
Hello Tomss,

You are right that adding many RadInput controls to a single page can start to lead to the size of that page becoming very large. This is because the JavaScript required to initialize and use a RadInput control is downloaded for each individual instance of that control on the page. So obviously, the more RadInput controls you have on the page, the bigger your page is going to get.

Fortunately we have already identified this problem and will be releasing (this week) a new control, the RadInputManager, as a part of our Q3 2008 release of the RadControls for ASP.NET AJAX. This control allows you to assign the same behaviors found in the RadInput controls to any TextBox control on your page. This way, we are reusing the JavaScript and making your page much cleaner and much smaller. Be sure to check it out when the new suite of controls is released.

Unfortunately, there is no easy way to use the RadInputManager with RadInput controls embedded inside a RadGrid's templated columns, as is the case with your scenario. What I would suggest is trying to use the RadGrid's GridNumericColumn to get similar behavior into one of your RadGrid columns.

I hope this has been helpful. If you have further questions, please let me know.

Regards,
Kevin
Tags
Input
Asked by
tomss
Top achievements
Rank 1
Answers by
Kevin Babcock
Top achievements
Rank 1
Share this question
or