Form decorator & asp Literal control

5 posts, 1 answers
  1. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 01 Jun 2015 Link to this post

    Hi,

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

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 02 Jun 2015 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 02 Jun 2015 in reply to Danail Vasilev Link to this post

    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?

  5. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 04 Jun 2015 Link to this post

    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.
  6. Answer
    Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 05 Jun 2015 Link to this post

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