# Orientation

By default, the ProgressBar component displays in a Horizontal state. But it also allows you to set its visualization to appear in Vertical layout as well:

![Chunk in Telerik UI for ASP.NET MVC ProgressBar](https://www.telerik.com/aspnet-mvc/documentation/assets/8d2a445cbb99a79e3ae3b6b7953e3fae/progressbar-orientation.png)

This is controlled with with the `Orientation` enumeration property:

```Razor HtmlHelper
 @using Kendo.Mvc.UI

@(Html.Kendo().ProgressBar()
	  .Name("totalProgressBar")
	  .Type(ProgressBarType.Chunk)
	  .ChunkCount(4)
	  .Min(0)
	  .Max(4)
	  .Orientation(ProgressBarOrientation.Vertical)
)
```

The calculation of the completeness % percents can happen with the `.value()` API method and javascript logic depending on the total count of inputs in the form. Here is an example:

```JavaScript
     $(".forms input").change(function () {
         var completeness = 5;
         $(".forms input").each(function () {
             if (this.value == "") {
                 completeness--;
             }
         });

         pb.value(completeness);
         $("#completed").text((completeness * 20) + "%");
     });
```

## See Also

* [Vertical ProgressBar for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/progressbar/vertical)
* [Server-Side API of the ProgressBar](https://www.telerik.com/aspnet-mvc/documentation/api/progressbar)
* [Client-Side API of the ProgressBar](https://docs.telerik.com/kendo-ui/api/ui/progressbar)
