
I like the HighlightedCells property on Grids. Is it possible to specify a style option for each item in the list? I would much prefer this over the OnCellRender event.
Then I would be able to specify that GridHighlightCellDescriptors with ColumnField of X should be Red, and ColumnFields of Y should be Blue.
My project is a windows service that hosts a blazor web site and api. When deployed using an MSI, Telerik says it is not licensed. What must be done with the license file to ensure it is registered?
int portNumber =
builder.Configuration.GetValue<int>(
"Kestrel:Startup:Port");
builder.Host.UseWindowsService();
builder.WebHost.UseKestrel(options =>
{
options.Listen(IPAddress.Loopback, portNumber);
});
Given this markup:
<TelerikGrid Data="@PrognoseData" EditMode="GridEditMode.Incell" OnUpdate="@OnGridUpdate">
<GridColumns>
<GridColumn Title="Prijs/eenh." Field="PrognoseKostenModel.EenheidId" Width="120px">
<EditorTemplate>
@{
var model = (PrognoseKostenModel)context;
<TelerikDropDownList Data="@_eenheden"
@bind-Value="@model.EenheidId"
TextField="@nameof(PrijsEenheidDto.Sign)"
ValueField="@nameof(PrijsEenheidDto.Id)" >
<DropDownListSettings>
<DropDownListPopupSettings Height="auto"/>
</DropDownListSettings>
</TelerikDropDownList>
}
</EditorTemplate>
<Template>
@{
var model = (PrognoseKostenModel)context;
}
<span>@model.Eenheid</span>
</Template>
</GridColumn>
</GridColumns>
</TelerikGrid>So eg:
1. the initial value is "vkm2"
2. User selects "post" in dropdown
3. Dropdown is automatically closed, but value in grid remains "vkm2"
4. User clicks in different field in same row: OnGridUpdate is fired and value in grid changes to "post"
Any idea how to get OnGridUpdate immediately after the selection in the dropdown?

On a TelerikGrid, I allow users to filter, resize, reorder, hide and lock coumns. I also have a button that lets them reset the grid state to the default settings.
This all works great except that the locked property of a grid column cannot be cleared under any circumstances that I can find. When I set state to null using SetStateAsync(null), all the user customizations are reset back to defaults and the grid is re-bouund, but the user-locked columns stay locked. Even if I trigger another manual rebind it does not update the locked status. I have to do a full page refresh to get back to the normal state.
I have a demonstration of this behavior here:
https://blazorrepl.telerik.com/mUYyvRPU52qGBUkY21
To reproduce:
One thing I have done with some success is instead of setting GridState to null, I create a new empty grid state , create a ColumnState for every column and set the Locked property to false. That will unlock the column. However, the default state of some of our colums is locked=true and I don't have a way of programmatically determining which columns should be locked by default, so this method unlocks all columns, which is not what I want.
Is there a reason that the locked status is not reset with the other settings and is there any way to force them to reset? Alternatively, is there any way to get the default column status out of the grid at runtime?

I'm trying to save the page number and page size of a Grid to be later restored if the page with that grid is loaded again, and I have 2 issues with the 'All' size.
My Sizes list is
private List<int?> PageSizes { get; set; } = [50, 100, 250, null];
If my grid has 76 rows and I select 'All' from the pager dropdown, the PageSize property is set to 76, but the dropdown shows 'All'.
If I then add a row to the grid, it is still showing 'All', but with page 1 of 2, where page 1 contains 76 items and page 2 contains 1 item.
Choosing 'All' again shows 1 page with 77 items.
That is my first issue, 'All' isn't all, but the current number of items
The second issue is when I set the Page and Pagesize with the values I saved earlier, the page size dropdown is showing '76', not 'All'. (76 isn't even a member of the PageSizes list. ). What value do I have set the PageSize to to force the dropdown to show 'All'?
Kind regards,
Kees Alderliesten

This is version 12.3.0
An application in production grew in memory consumption to several gigabytes and I've pinpointed the problem to the grid. The data of the grid is being updated frequently and each time the data of the grid is being updated with a new list, the memory goes up with hundreds of megabyte. Even when the page is reloaded with F5, the memory is not released.
I ran some memory profiling in visual studio 2022 but could not find anything useful (I'm not good at profiling), except that the object that has the most diff between snapshots is SharedArrayPool+Partition<Byte>
In the end I had to force a Garbage Collection before setting the Data prop of the grid, which helps.
Perhaps there is a better (or a right) way to update the data of the grid? I've tried so many things now :D

I have a situation where I need the:
EditMode="GridEditMode.Incell"
but I also need to have an event trigger when the row is updated:
EditMode="GridEditMode.Inline"
There is no mode that supports both, what are my options?
I need to be able to trigger some action on a Cell by Cell update basis, but also need to trigger a specific action on a Row update.
Thoughts?
Robl

Hello,
I have a Telerik Grid where each row contains a TelerikFileSelect component. In the OnSelect method how can I determine the row of the component selecting the file.
Thanks,
Dave

If I place a breakpoint in the OnUpdate handler (async) in a grid, spend about 20 seconds inspecting values (no code changes, just looking at values) and then "continue" I get the following:
The grid is now completely unresponsive ... it doesn't continue execution and I have to basically stop execution from VS 2026. Having to return a test session every time I debug is INCREDIBLY time consuming ... there must be a better way to debug?
