# 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](https://www.telerik.com/blazor-ui/documentation/system-requirements).

### AutoComplete, ComboBox, MultiColumnComboBox, MultiSelect

The obsolete `ClearButton` parameter is removed. Use `ShowClearButton` instead.

## DateRangePicker

* The [`ShowOtherMonthDays` parameter's default value](https://www.telerik.com/blazor-ui/documentation/components/daterangepicker/overview#daterangepicker-parameters) is changed to `false`.

## DropDownButton

* The [`ShowArrowButton` parameter's default value](https://www.telerik.com/blazor-ui/documentation/components/dropdownbutton/overview#dropdownbutton-parameters) is changed to `false`.

## FileSelect

* The obsolete method `OpenFileSelectAsync()` is removed. [Use `OpenSelectFilesDialog()`](https://www.telerik.com/blazor-ui/documentation/components/fileselect/overview#fileselect-reference-and-methods) instead.

## Gantt

* The [`Type` property of `GanttDependencyCreateEventArgs`](https://www.telerik.com/blazor-ui/documentation/components/gantt/dependencies/editing) changes from `int` to [`GanttDependencyType` enum](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.ganttdependencytype).
* The [dependency model class of the Gantt](https://www.telerik.com/blazor-ui/documentation/components/gantt/dependencies/databind) must use the `GanttDependencyType` enum for its `TypeField` property.

## Grid

* Columns with `Visible="false"` are editable by default in popup edit mode. To [disable editing of a hidden column, set `Editable="false"`](https://www.telerik.com/blazor-ui/documentation/components/grid/editing/popup) explicitly.
* The obsolete `AutoFitColumn()` method is removed. [Use `AutoFitColumnAsync()`](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/resize#autofit-columns) instead.
* The obsolete `AutoFitColumns()` method is removed. Use `AutoFitColumnsAsync()` instead.
* The obsolete `AutoFitAllColumns()` method is removed. Use `AutoFitAllColumnsAsync()` instead.
* When using [grouping and `OnRead`](https://www.telerik.com/blazor-ui/documentation/components/grid/manual-operations#grouping-with-onread), casting `DataSourceResult.Data` to a list of objects (`.Cast<object>()`) is no longer needed.
* [Components in some Grid templates require a `@key`](https://www.telerik.com/blazor-ui/documentation/knowledge-base/grid-using-components-in-templates) in order to display correct values after data operations like sorting, filtering, paging, and others.

> caption Using custom components in Grid column templates up to version 6.2.0 and after version 7.0.0

<table>
    <thead><tr>
        <th>UI for Blazor 6.2.0</th>
        <th>UI for Blazor 7.0.0</th>
    </tr></thead>
    <tbody>
        <tr>
<td style="vertical-align:top">

```RAZOR.skip-repl
<GridColumn>
    <Template>
        @{ var dataItem = (GridModel)context; }
        <ChildComponent />
    </Template>
</GridColumn>
```

</td>
<td style="vertical-align:top">

```RAZOR.skip-repl
<GridColumn>
    <Template>
        @{ var dataItem = (GridModel)context; }
        <ChildComponent @key="@dataItem" />
    </Template>
</GridColumn>
```

</td>
        </tr>
    </tbody>
</table>

## TextArea

* The obsolete parameter `AutoSize` is removed. Use [`ResizeMode="TextAreaResizeMode.Auto"`](https://www.telerik.com/blazor-ui/documentation/components/textarea/overview#textarea-parameters) instead of `AutoSize="true"`.

## TreeList

* Columns with `Visible="false"` are editable by default in popup edit mode. To [disable editing of a hidden column, set `Editable="false"`](https://www.telerik.com/blazor-ui/documentation/components/treelist/editing/popup) explicitly.
* The obsolete `AutoFitColumn()` method is removed. [Use `AutoFitColumnAsync()`](https://www.telerik.com/blazor-ui/documentation/components/treelist/columns/resize#autofit-columns) instead.
* The obsolete `AutoFitColumns()` method is removed. Use `AutoFitColumnsAsync()` instead.
* The obsolete `AutoFitAllColumns()` method is removed. Use `AutoFitAllColumnsAsync()` instead.

## Upload

* The obsolete method `OpenFileSelectAsync()` is removed. [Use `OpenSelectFilesDialog()`](https://www.telerik.com/blazor-ui/documentation/components/upload/overview#upload-reference-and-methods) instead.

## See Also

* [Rendering changes in Telerik UI for Blazor 7.0.0](https://www.telerik.com/blazor-ui/documentation/upgrade/rendering-changes/7-0-0)
