Create a new user widget

Apart from using Sitefinity's built-in user widgets, you can create your own new user widgets.

When implementing a new user widget, you need to:

  1. Create a new user control in your project in Visual Studio.
  2. Implement the markup in the .ascx file.
  3. Implement the client-side functionality in the .js file.
  4. Implement the server-side functionality, or, code-behind in the .cs file.
  5. Register the new user widget in the widget toolbox in Sitefinity's backend

Implementing the markup and the logic of the new user widget are specific for each widget.

You can subscribe to events only in the code-behind (.cs file).

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?