Lots of RadNumericTextBox - very slow compared to asp:Textbox

6 posts, 0 answers
  1. mSchmidt
    mSchmidt avatar
    47 posts
    Member since:
    Aug 2007

    Posted 10 Dec 2008 Link to this post

    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.

  2. Dimo
    Admin
    Dimo avatar
    8457 posts

    Posted 10 Dec 2008 Link to this post

    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.
  3. mSchmidt
    mSchmidt avatar
    47 posts
    Member since:
    Aug 2007

    Posted 10 Dec 2008 Link to this post

    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.

  4. Dimo
    Admin
    Dimo avatar
    8457 posts

    Posted 10 Dec 2008 Link to this post

    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.
  5. mSchmidt
    mSchmidt avatar
    47 posts
    Member since:
    Aug 2007

    Posted 10 Dec 2008 Link to this post

    Sorry i meant RadInputManager.
  6. Dimo
    Admin
    Dimo avatar
    8457 posts

    Posted 10 Dec 2008 Link to this post

    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.
Back to Top