HtmlHelperExtensionsFormComponentsStyles Method |
Renders necessary stylesheet link tags for using Form builder based forms on a live site.
If no form component specific stylesheet is available, an empty string is returned.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax Exceptions Remarks
Form components' additional stylesheets are expected to reside within the '~/Content/FormComponents' directory.
CSS files in that directory are bundled and this method renders a link tag referencing the bundle
in its href attribute. The bundle exists only if the aforementioned directory does.
See Also