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

Prevent Skin from Applying to Formview

3 Answers 75 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 2
Ron asked on 11 Jan 2012, 03:13 PM
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

3 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 13 Jan 2012, 04:43 PM
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!
0
Accepted
Bozhidar
Telerik team
answered on 16 Jan 2012, 10:38 AM
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.
0
Ron
Top achievements
Rank 2
answered on 17 Jan 2012, 02:15 PM
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.
Tags
FormDecorator
Asked by
Ron
Top achievements
Rank 2
Answers by
Richard
Top achievements
Rank 1
Bozhidar
Telerik team
Ron
Top achievements
Rank 2
Share this question
or