Feather provides you with full control on where to place your resources. For this purpose, you can register sections in your layout files. Thus, when using the @Html.Section method, you can define where to insert your resource on the page. @Html is an ASP.NET MVC helper method. For more information, see HTMLHelper methods. Section method is part of the Feather helper methods inside the Telerik.Sitefinity.Frontend assembly.
You can place the section anywhere on your layout file. Afterwards it will be replaced by all referenced resources for that section. The following code creates a new section:
Regardless of the position of the resources, registered via the @Html.Script and @Html.StyleSheet helper methods, they will be rendered inside this section. This means that you can register resources above the section and still have them in the correct place when the page is rendered.
For more information, see Feather: Refer to resources inside views.
NOTE: If a resource is registered to render in a specific section and this section is afterwards renamed or deleted, the resource registration will throw an exception.
If you use the standard feather resource packages, the following sections are available out-of-the-box:
IMPORTANT: We recommend not to remove those sections.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2021 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity