Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > FormDecorator > Prevent Skin from Applying to Formview

Answered Prevent Skin from Applying to Formview

Feed from this thread
  • Ron avatar

    Posted on Jan 11, 2012 (permalink)

    Hello,

    I want the GridView and DetailsView to have a default skin applied via the FormDecorator, but I do not want it to apply to the FormView.  Currently it appears that you have to have it apply to all three controls or none of them.  I would rather not have to set the skin on each control individually to accomplish this as I want the GridView and DetailsView to be dynamic and change by simply changing the default skin setting on the FormDecorator.

    Lastly, the FormDecorator control in on my master page.  Is there anyway to accomplish excluding FormView from having the skin specified in the FormDecorator applying to it?

    Thanks,
    Ron

    Reply

  • jumpstart Master avatar

    Posted on Jan 13, 2012 (permalink)

    Ron:

    Take a look at the How to exclude specific controls from RadDecorator forum thread for detailed insights on your issue. At the bottom of the thread there is a possible solution of setting a CSSClass to the FormView control that will prevent the RadFormDecorator from applying itself to that object.

    Hope this helps!

    Reply

  • Answer Bozhidar Bozhidar admin's avatar

    Posted on Jan 16, 2012 (permalink)

    Hello,

    Putting CssClass will prevent the element to be decorated. You could also use decoration zone ID property: Partial Page Decoration in order to have some parts of the page without decoration or with only specific elements decorated.

    Greetings,
    Bozhidar
    the Telerik team
    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.

    Reply

  • Ron avatar

    Posted on Jan 17, 2012 (permalink)

    using the partial page decoration or zone IDs were not feasable in my situation, however, applying the CSSClass to the control was the way to go.  Thanks.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > FormDecorator > Prevent Skin from Applying to Formview
Related resources for "Prevent Skin from Applying to Formview"

ASP.NET FormDecorator Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]