The Partial View should contain only the extension's code.
The code result is demonstrated in the image below.
The CheckBoxList editor is a check box group that provides end-users with the ability to select multiple items.
The CheckBoxList supports both data-bound and unbound modes. This means that its contents can be generated dynamically by binding the editor to a data source, as well as manually populating the control's item collection.