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
Copyright © 2022 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