To wire up the template with the view, 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 MultiViewWidget and the path to the template file is Resources/Views/MultiViewWidgetDesignerView.ascx, the LayoutTemplatePath property must be set as follows: MultiViewWidget.Resoureses.Views.MultiViewWidgetDesignerView.ascx.
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 view class.
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.