New to Telerik UI for Blazor? Start a free 30-day trial
Breaking Changes in 7.0.0
This article outlines the breaking changes in Telerik UI for Blazor version 7.0.0.
Common
.NET Support
.NET 7 is no longer supported.
AutoComplete, ComboBox, MultiColumnComboBox, MultiSelect
The obsolete ClearButton
parameter is removed. Use ShowClearButton
instead.
DateRangePicker
- The
ShowOtherMonthDays
parameter's default value is changed tofalse
.
DropDownButton
- The
ShowArrowButton
parameter's default value is changed tofalse
.
FileSelect
- The obsolete method
OpenFileSelectAsync()
is removed. UseOpenSelectFilesDialog()
instead.
Gantt
- The
Type
property ofGanttDependencyCreateEventArgs
changes fromint
toGanttDependencyType
enum. - The dependency model class of the Gantt must use the
GanttDependencyType
enum for itsTypeField
property.
Grid
- Columns with
Visible="false"
are editable by default in popup edit mode. To disable editing of a hidden column, setEditable="false"
explicitly. - The obsolete
AutoFitColumn()
method is removed. UseAutoFitColumnAsync()
instead. - The obsolete
AutoFitColumns()
method is removed. UseAutoFitColumnsAsync()
instead. - The obsolete
AutoFitAllColumns()
method is removed. UseAutoFitAllColumnsAsync()
instead. - When using grouping and
OnRead
, castingDataSourceResult.Data
to a list of objects (.Cast<object>()
) is no longer needed. - Components in some Grid templates require a
@key
in order to display correct values after data operations like sorting, filtering, paging, and others.
Using custom components in Grid column templates up to version 6.2.0 and after version 7.0.0
UI for Blazor 6.2.0 | UI for Blazor 7.0.0 |
---|---|
RAZOR
|
RAZOR
|
TextArea
- The obsolete parameter
AutoSize
is removed. UseResizeMode="TextAreaResizeMode.Auto"
instead ofAutoSize="true"
.
TreeList
- Columns with
Visible="false"
are editable by default in popup edit mode. To disable editing of a hidden column, setEditable="false"
explicitly. - The obsolete
AutoFitColumn()
method is removed. UseAutoFitColumnAsync()
instead. - The obsolete
AutoFitColumns()
method is removed. UseAutoFitColumnsAsync()
instead. - The obsolete
AutoFitAllColumns()
method is removed. UseAutoFitAllColumnsAsync()
instead.
Upload
- The obsolete method
OpenFileSelectAsync()
is removed. UseOpenSelectFilesDialog()
instead.