DotVVM Tip 07: Use ComboBox to select values from a collection

by Tomáš Herceg | November 28, 2022

Building forms is really easy! Bind a collection of objects in the ComboBox control and let the user select the value.

DotVVM Tip 06: Validation controls

by Tomáš Herceg | November 21, 2022

DotVVM syntax is different from Razor. The Validator control can display validation errors for a particular property. You can choose to apply CSS classes on any element based on validation state of some property.

DotVVM Tip 05: Access parent context using _parent or _root

by Tomáš Herceg | November 14, 2022

DotVVM syntax is different from Razor. Instead of passing lambda expressions, use _root, _parent or _this expressions to reference different scopes in your viewmodel.

DotVVM Tip 04: Join CSS classes without complicated expressions

by Tomáš Herceg | November 07, 2022

DotVVM syntax is different from Razor. Instead of concatenating fragments of CSS classes, just use class-* property and specify a boolean expression indicating whether the class shall be included or not.

DotVVM Tip 03: Generate URLs using RouteLink

by Tomáš Herceg | October 31, 2022

DotVVM syntax is different from Razor. Instead of concatenating parts of URLs, the RouteLink component can build links to other pages from the route name and its parameters.

DotVVM Tip 02: Repeater control

by Tomáš Herceg | October 24, 2022

DotVVM syntax is different from Razor. Instead of foreach blocks, use the Repeater control and bind it to a collection of objects.

DotVVM Tip 01: Visible binding

by Tomáš Herceg | October 17, 2022

DotVVM syntax is different from Razor. Instead of the @if statement, use the Visible property on any HTML element and bind it to a boolean expression.

Part 2: Have you tried the new composite controls?

by Tomáš Herceg | October 09, 2022

In the previous part, you could learn about the new approach for creating custom controls in DotVVM – the Composite controls. I’ve shown how to declare a composite control, how the new type ValueOrBinding<T> works, and how to work with templated controls.

Part 1: Have you tried the new composite controls?

by Tomáš Herceg | August 05, 2022

DotVVM 4.0 has introduced a new way of building custom controls called Composite controls. In this article, we’ll share multiple use cases for these controls, and also some useful tips and tricks how to use this concept efficiently.

Released DotVVM 4.0

by Tomáš Herceg | March 22, 2022

We are happy to announce the release of DotVVM 4.0. This version contains several new features, many bug fixes and some significant performance improvements.