FormDecorator decorating RadControls

6 posts, 0 answers
  1. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 27 Jan 2010 Link to this post

    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.
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 27 Jan 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 11 Feb 2010 Link to this post

    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.
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 17 Feb 2010 Link to this post

    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.
  6. Jiju
    Jiju avatar
    57 posts
    Member since:
    Jul 2011

    Posted 22 Jun 2013 Link to this post

    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
  7. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 24 Jun 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017