Skip to main content

Create a Control

To create a control:

  1. Call the DevExtreme() HtmlHelper extension method.
  2. Call the control’s builder method.
    .Button() // creates a Button control

If you create a control inside a code block, end the configuration with a Render() method call.

        // ...
        // other Button control options go here
        // ...