2020 Releases
Telerik UI for ASP.NET MVC R3 2020 SP1
Upload
Changed appearance in Less-based themes
of the Upload action buttons that are rendered when the Async.AutoUpload
option is set to false
.
Reverting to the previous appearance is possible by utilizing the following styles:
<style>
.k-upload .k-action-buttons {
padding: 0;
align-items: stretch;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border-width: 1px 0 0;
border-top-width: 1px;
border-style: solid;
display: flex;
flex-direction: row;
flex-shrink: 0;
flex-basis: auto;
overflow: hidden;
border-color: transparent;
}
.k-upload .k-action-buttons .k-button {
background-clip: border-box;
border-radius: 0;
margin: 0;
padding: 12px 16px;
border-width: 0;
text-overflow: ellipsis;
flex: 1 0 0%;
flex-grow: 1;
flex-grow: 1;
display: inline-block;
overflow: hidden;
width: auto;
max-width: 100%;
}
</style>
@(Html.Kendo().Upload()
.Name("files")
.Async(a => a
.Save("Async_Save", "Upload")
.Remove("Async_Remove", "Upload")
.AutoUpload(false)
)
)
Telerik UI for ASP.NET MVC R3 2020
Badge
Deprecated configuration options and methods:
Old configuration/method | New configuration/method |
---|---|
Appearance(string value) |
Shape(Kendo.Mvc.UI.BadgeShape)
|
BadgeStyle(Kendo.Mvc.UI.BadgeFill) |
Fill(Kendo.Mvc.UI.BadgeFill) |
Color(Kendo.Mvc.UI.BadgeColor) |
ThemeColor(Kendo.Mvc.UI.BadgeColor) |
Look(string value) |
Fill(Kendo.Mvc.UI.BadgeFill) |
Overlay(bool value) |
use Position(BadgePosition.Edge) and Align(BadgeAlign.TopEnd)
|
Placement(Kendo.Mvc.UI.BadgePlacement) |
Position(Kendo.Mvc.UI.BadgePosition) |
Position(Kendo.Mvc.UI.BadgePosition) |
Align(Kendo.Mvc.UI.BadgeAlign) |
Value(string value) |
Text(string value) Text(double value)
|
client-side API methodvalue()
|
client-side API methodtext()
|
Scheduler
As of the Kendo UI 2020 R3 release, the Telerik UI for ASP.NET MVC Scheduler RecurrenceEditor will be rendered as a ButtonGroup and not a DropDownList. Apart from that, in the Weekly recurrence view the days selection is also displayed as a ButtonGroup instead of checkboxes.
Telerik UI for ASP.NET MVC R2 2020
TextBox
As of the Kendo UI R2 2020 release, the Telerik UI for ASP.NET MVC TextBox is a component, not a plain styled input. As a result, the following changes were made:
A wrapping
<span>
element is added to facilitate the new floating labels functionality.The
Format
configuration is removed. This configuration was setting the initial format of the TextBox. After the R2 2020 release, if you need to change the initial format, use code similar to:
@(Html.Kendo().TextBox()
.Name("textbox")
.HtmlAttributes(new { @Value = String.Format("{0:C}", 2500) })
)
You can also check: