In Sitefinity CMS - widgets provide most of their functionality in client code. As the Sitefinity CMS backend, where these controls are used, is fully AJAX-ified and works through services, custom field controls must provide a client API that is called by Sitefinity CMS. The following procedure shows how to implement the client component for a custom field control:
FieldControl
registerClass
Sys.UI.Control
Telerik.Sitefinity.Web.UI.Fields.FieldControl
get_value()
set_value()
Read
Write
EXAMPLE: For more information about the contents of the JavaScript file, see FormWidget.js in Sitefinity documentation-samples on GitHub.
FormWidget.js
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important