New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC Drawer Functionality

  • EXAMPLE
  • VIEW SOURCE

Position

Mode

Show / Hide

Lorem ipsum dolor sit amet consectetur adipisicing elit. Error accusantium odit, optio nulla maiores quo neque fugit debitis dignissimos incidunt maxime? Eum voluptatem blanditiis voluptatum praesentium dolorem, dolore placeat debitis quod delectus laborum assumenda cupiditate quaerat quam fugiat deleniti suscipit necessitatibus. Voluptates a molestias temporibus inventore, sit soluta vitae qui repellendus rem aliquam iusto esse. Expedita, deserunt sed. Architecto vitae enim ab ut fugiat consectetur nobis inventore accusantium sint placeat tempora autem, quibusdam possimus aut totam! Modi quo incidunt harum officia, obcaecati soluta debitis ex nesciunt tenetur fugiat, rerum ab minima ipsam ullam neque cumque. Aperiam, dolor facere sequi id repellendus a, tempore ut enim numquam vitae, vel aliquam! Velit suscipit quaerat tempore natus? Autem, debitis non. Sunt, voluptatem laboriosam.
functionality.cshtml
FunctionalityController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET MVC Drawer supports the following modes that are different in terms of behavior:

  • Overlay—Takes the entire height of the page and provides an overlay effect on the page when the user opens it.
  • Push—The Drawer interacts with specific content or sections on the page. When the page is opened, depending on the Drawer's position, it pushes the content to the left or right to occupy the remaining space. The associated content shrinks.

The Drawer component can be positioned either on the left or right side by using the Position configuration option.

This demo shows how to render the Drawer based on its selected mode and position.

Additional Apps

This Drawer example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources