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

Form decorator & asp Literal control

4 Answers 174 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 01 Jun 2015, 08:53 AM

Hi,

Does the form decorator work (apply themes) with the asp:Literal control?

4 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 02 Jun 2015, 08:32 AM
Hi Al,

RadFormDecorator styles HTML label tags and not ASP:Label controls. More information on the matter is available here - http://www.telerik.com/help/aspnet-ajax/formdecorator-integration-with-standard-controls.html

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.
0
Al
Top achievements
Rank 1
Iron
Iron
Iron
answered on 02 Jun 2015, 08:44 AM

Thanks Danail, I wasn't referring to HTML/ASP Label controls, rather ASP:Literal controls. 

After reading the link though it appears that Literal controls will NOT be styled by the form decorator? Do you have a similar RAD control that is styled as standard?

0
Danail Vasilev
Telerik team
answered on 04 Jun 2015, 03:05 PM
Hi Al,

Thank you for the clarification.

Generally the RadFormDecorator can style the empty area on the page that has no controls but empty space or generic HTML tags like spans or divs - color and background color are applied. This empty area is called zone and you can read more about it here - http://www.telerik.com/help/aspnet-ajax/formdecorator-zone.html

That being said the color and the background-color of all the literals on the page can be styled by the decorator simultaneously. You can also manually override the decorator styles. See the classes here -
http://screencast.com/t/plmgOeWacG

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.
0
Accepted
Danail Vasilev
Telerik team
answered on 05 Jun 2015, 11:11 AM
Hi,

You may also find useful a possible workaround for styling ASP:Labels in this feedback item - http://feedback.telerik.com/Project/108/Feedback/Details/119309

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
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Danail Vasilev
Telerik team
Al
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or