Reference the client script for the multi-view widget designer
You must reference the client component from the view class. You do this in the override of the GetScriptReference method. In it you must create a script reference for your client component. When creating the reference, you must specify the name of the embedded resource that contains the client component and the assembly it resides in. The name of the resource follows the same naming conventions as the name of the template.
EXAMPLE: For more information about how to reference the client script by overriding the GetScriptReferences
and GetScriptDescriptors
methods, see For developers: Full code of the widget designer view class.