# TimeDurationPicker Shortcuts

The shortcuts configuration of the Kendo UI for ASP.NET MVC TimeDurationPicker enables you to render custom button elements in the popup.

These buttons can hold time frame values. Upon clicking any of them, the value of the TimeDurationPicker will be updated with the value of the corresponding button. You have to specify the value of the shortcuts in milliseconds.

The following example showcases how to define a shortcut:

```Razor HtmlHelper
        @(Html.Kendo().TimeDurationPicker()
        .Name("timeDurationPicker")
        .Columns(c =>
        {
            c.Hours().Format("## hours ");
            c.Minutes().Format(" ## minutes ");
        })
        .Shortcuts(s =>
        {
            s.Add().Text("1h 30min").Value(5400000);
            s.Add().Text("2h 30min").Value(9000000);
            s.Add().Text("4 hours").Value(14400000);
        })
        .Separator(":")
    )
```

## See Also

* [Overview by the TimeDurationPicker HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/timedurationpicker)
* [Using the API of the TimeDurationPicker HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/timedurationpicker/api)
* [Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/timedurationpicker)
