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

Lots of RadNumericTextBox - very slow compared to asp:Textbox

5 Answers 106 Views
Input
This is a migrated thread and some comments may be shown as answers.
mSchmidt
Top achievements
Rank 1
mSchmidt asked on 10 Dec 2008, 09:15 AM
Hi

Iam recreating a old application from ASP, the application is a data input application, it has everywhere from 1 to 300 rows.
I have a RadGrid, (performing very well), within these RadGrids i have 4 TextBoxes for each row, encapsulated by an ItemTemplate.

The thing is with 100 rows i will have 400 textboxes, this is no problem at all using ASP:TextBox (site loads within 1 second) however doing this with RadNumericTextBox it takes 8-9 seconds loading and then another 4-6 seconds where the UI freezes up (might be some style adjustments or something.)

Is this just the way it is or am i doing something wrong ?

Iam using RadNumericTextBox because it has a very nice way of showing illigal inputs and automatically limits the input.

5 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 10 Dec 2008, 09:31 AM
Hi Morten,

RadNumericTextBox has a lot richer functionality than asp:TextBox and in addition, it has a client-side instance. Using hundreds of RadNumericTextBoxes on a page will have impact on both the server-side and client-side performance, compared to ordinary textboxes. That's why I suggest that you try using regular asp:TextBoxes extended with RadInputManager. This improves the performance a lot.

http://demos.telerik.com/aspnet-ajax/Input/Examples/RadInputManager/FirstLook/DefaultCS.aspx

http://www.telerik.com/help/aspnet-ajax/introduction_to_radinputmanager.html


Greetings,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
mSchmidt
Top achievements
Rank 1
answered on 10 Dec 2008, 11:37 AM
Thanks alot, that did speed things up quite abit however i would need a RadEditMAnager for every row.

Iam thinking i will do the coding my self however i would like to see how it is done by the RadEditManager, is there any way i can view the javascript for the RadEditManager.

0
Dimo
Telerik team
answered on 10 Dec 2008, 12:04 PM
Hello Morten,

What do you mean by RadEditManager ?

Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
mSchmidt
Top achievements
Rank 1
answered on 10 Dec 2008, 12:05 PM
Sorry i meant RadInputManager.
0
Dimo
Telerik team
answered on 10 Dec 2008, 12:43 PM
Hi Morten,

As far as I can see, you have a developer licence plus subscription and priority support, which means that you can download the RadControls' source code from telerik.com after logging in and going to "Your Account", and then to "Purchases and Downloads" :

http://www.telerik.com/account/purchases-and-downloads.aspx

By the way, you don't need a RadInputManager for each RadGrid item. You have to add the textboxes from every item programmatically to the InputManager's InputSettings. Here is an example:

http://www.telerik.com/community/forums/aspnet-ajax/input/skinning-asp-textbox-as-telerik-radtextbox.aspx


Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Input
Asked by
mSchmidt
Top achievements
Rank 1
Answers by
Dimo
Telerik team
mSchmidt
Top achievements
Rank 1
Share this question
or