FilterPageContentConnector used for technological connection of scripts and styles that are necessary for the operation of the controls and the runtime environment by using post-processing of the page layout. The scripts are included at the end of the tag
<body>, styles - at the end of the tag
Is an alternative method of connection resources PlaceholderPageContentConnector.
Before sending the generated HTML markup the user is post-processing page
- determines the position for inserting data (end tag
<head>for styles and the end tag
<body>for scripts and other specials. компонентов;
- the position of the inserted extra HTML markup to connect ресурсов;
- the corrected data is sent to the user.
<head>(e.g. inside a comment), the position can be determined correctly. These problems relate to the fact that a full analysis of HTML is not possible (due to complexity and resource consumption), it looks for the first possible position. In most cases (especially for new projects) is to use PlaceholderPageContentConnector.
To connect resources, based on the filters you want to configure unity (web.config):
<register type="NewPlatform.Flexberry.Web.Http.IPageContentConnector, NewPlatform.Flexberry.Web.Http" mapTo="NewPlatform.Flexberry.Web.Http.FilterPageContentConnector, NewPlatform.Flexberry.Web.Http" />