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