RadControls Upgrade - RadNumericTextBox

3 posts, 0 answers
  1. Tim
    Tim avatar
    2 posts
    Member since:
    Nov 2013

    Posted 14 Nov 2013 Link to this post

    Hi

    Our company is in the process of upgrading our rad controls from a rather old version to the latest version. On of the controls that's upgraded is a custom control created which derives from the RadNumericTextBox.

    In this control there are 2 overrides which are no longer relevant, namely:

      - InitScript
      - RenderHiddenElement

    I can't seem to find any document on these, so I'm not sure where to move this code to in the upgraded version. Can anyone provide me with some insight in these? And, if possible, what the best way to re-implement them in the latest version would be?

    Many thanks

    Tim
  2. Vasil
    Admin
    Vasil avatar
    1635 posts

    Posted 18 Nov 2013 Link to this post

    Hi Tim,

    We improved the rendering. And probably in the old version of the controls, you have used the old rendering.
    Check these blogs:
    http://blogs.telerik.com/blogs/posts/11-11-18/get-better-performing-input-fields-in-your-asp-net-ajax-apps.aspx
    http://blogs.telerik.com/blogs/posts/12-06-22/changes-in-radinput-in-q2-2012-version-of-radcontrols.aspx

    I could help you with some suggestions to your code, but you have to tell us what exactly was the point of this custom code. What is the goal?

    Regards,
    Vasil
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. Tim
    Tim avatar
    2 posts
    Member since:
    Nov 2013

    Posted 18 Nov 2013 Link to this post

    Thanks for the response.

    I've since found out that the reason the original control writers were using those methods/properties to minimize the html output of the controls to the page in the event of using many controls which derived from RadNumericTextBox.

    I do see that the rendering has improved & it seems that less html is being outputted with the new controls. For now, I don't think we need to be changing anything. I am still testing the new version & will most definitely take you up on those suggestions if I run into problems.

    Many Thanks

    Tim
Back to Top