IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
To specify a default template for the new widget, you must override the LayoutTemplatePath property in the widget’s .cs file in Visual Studio. The property must return a string that represents a reference to the full path, which represents your template, for example: SitefinityWebApp.MyFolder.MyCustomWidget.ascx.
The LayoutTemplatePath follows the naming convention <Namespace>.<ResourceFolderPath>.<TemplateName>, where you must replace path slashes inside the resource folder path with dots.
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