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

FlatColorPicker Views

The FlatColorPicker is a component with a new and modern design. One of the available features is the views configuration. It allows you to choose between a gradient and a palette view. You can also choose which the default view would be through the view option.

@(Html.Kendo().FlatColorPicker()
      .Name("tail")
      .Value("#000")
      .Events(ev => ev.Change("select"))
      .Preview(false)
      .View("palette")
      .Views(new string[] {"gradient", "palette"})
      .HtmlAttributes(new { @class = "picker" })
)

See Also

In this article