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

RadControls Upgrade - RadNumericTextBox

2 Answers 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 14 Nov 2013, 10:40 AM
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 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 18 Nov 2013, 11:43 AM
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.
0
Tim
Top achievements
Rank 1
answered on 18 Nov 2013, 11:47 AM
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
Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Tim
Top achievements
Rank 1
Share this question
or