To wire up the template with the designer, you must return its name via the LayoutTemplatePath property. It specifies the path to the embedded resource following the naming convention <Namespace>.<ResourceFolderPath>.<TemplateName>, where you must replace path slashes inside the ResourceFolderPath with dots.
For example, if you have project called SimpleWidget and the path to the template file is Resources/Views/SimpleWidgetDesigner.ascx, the LayoutTemplatePath property must return the following:
EXAMPLE: For more information about referencing the template of the designer in the designer's class, using the LayoutTemplatePath property, see For developers: Full code of the widget designer class.
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 © 2020 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