RadNumericTextBox - is not efficient !!!

2 posts, 0 answers
  1. tomss
    tomss avatar
    1 posts
    Member since:
    Nov 2008

    Posted 05 Nov 2008 Link to this post

    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 ?
  2. Kevin Babcock
    Kevin Babcock avatar
    189 posts
    Member since:
    Mar 2007

    Posted 05 Nov 2008 Link to this post

    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.

Back to Top