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

FormDecorator decorating RadControls

5 Answers 110 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
robertw102
Top achievements
Rank 1
robertw102 asked on 27 Jan 2010, 04:11 PM
I've noticed that the FormDecorator decorates the input elements of the RadControls (i.e RadNumericTextBox), thus causing the style to be changed. It's not a big problem for me, since I use the same skin for both, but I thought the FormDecorator should be excluding the RadControls when it decorates. I noticed this change when I have a RadNumericTextBox disabled, thus applying the opaque filter that the FormDecorator uses on disabled controls.

I just thought you guys should know.

I'm using the latest version of the controls 2009.3.1314.

5 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 27 Jan 2010, 05:06 PM
I think it by default decorates every control it can, but you can always look over the properties "ControlsToSkip"  and "DecoratedControls" to see if you can create a list of what to decorate/not decorate. You can see more about this in this documentation article.
0
robertw102
Top achievements
Rank 1
answered on 11 Feb 2010, 07:32 PM
I have it set to decorate only Texboxes and TextAreas, which is what I want it to decorate. I don't see why it decorates the RadControls, like the RadTextBox, RadDatePicker and any other control that uses the input="text" element. I understand it decorates every textbox so that it can decorate the controls in the RadGrid if you use it, which is why I have it set, and the RadTreeview, but it should exclude RadControls that don't require the decoration.
0
Georgi Tunev
Telerik team
answered on 17 Feb 2010, 09:00 AM
Hello robertw102,

Could you please send a small sample that shows the problem? In general RadFormDecorator should not affect these controls. A sample project would help us pinpoint the problem and provide you with a solution.

Best wishes,
Georgi Tunev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jiju
Top achievements
Rank 1
answered on 22 Jun 2013, 06:14 AM
Hi,
I use formdecorator for decorating both asp controls and rad controls in my page, when I change the telerik version from 2012.1.215.35 to the latest version 2013.2.611.35, the form decorator decorating only asp.net controls, it is not decorating the rad controls in the page.

thanks
Jiju
0
Danail Vasilev
Telerik team
answered on 24 Jun 2013, 03:39 PM
Hi Jiju,

I have already answered to your ticket, so I paste my answer below for the community:

RadFormDecorator's purpose is to decorate a list of predefined simple HTML elements as well as ASP controls. You can find that list in the Integration With Standard Controls help article. As RadControls are based on HTML, JavaScript and CSS, there are controls from the suite that are affected by the RadFormDecorator and can also be decorated. More information on the integration of RadControls with RadFormDecorator is available in Integration With RadControls help article.

Could you please provide more information about the controls which are not decorated, as well as to what is the actual and expected behavior? If you mean the RadInput control, then there is a know issue in Q2 2013, so that when a decorated RadInput is hovered, it looses its decoration. More information about the issue as well as a workaround about it is available here.


Regards,
Danail Vasilev
Telerik
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Tags
FormDecorator
Asked by
robertw102
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
robertw102
Top achievements
Rank 1
Georgi Tunev
Telerik team
Jiju
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or