The Partial View should contain only the extension's code.
The image below shows the result.
Ability to Associate a Label to an Extension
You can specify an extension with which the Label extension is associated. In this case, the label renders as an HTML label element, with the for attribute set to the Name property of the associated extension. Label attributes can be used to extend the functionality of the associated extension. You can define an associated extension with the LabelSettings.AssociatedControlName property.
The Label appearance can be customized in different ways: by applying DevExpress built-in themes, by specifying CSS classes or by using different label appearance properties (for example, using the LabelSettings.Properties.Style property).
See this topic to learn more about appearance customization using predefined built-in visual themes: Applying Themes.
Full-Featured Client-Side API
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.