Telerik Forums
UI for Blazor Forum
1 answer
20 views
I need to display Grid Metadata .. for each column in the grid ... display the Title along with the mapped internal field

For example for the following GridColumn

<GridColumn Field=@nameof(Orders.KeyID) Title="Order ID" />

I will need to display that 

Order ID is mapped to Orders.KeyID field

The issue is TelerikGrid GridColumnState has Field property but does not have Title property.

Will it be possible for Telerik to include Title in GridColumnState?
Dimo
Telerik team
 answered on 18 Jun 2026
0 answers
23 views

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.

Jerome
Top achievements
Rank 1
 asked on 02 Jun 2026
6 answers
5.0K+ views

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);
            });

Lance | Senior Manager Technical Support
Telerik team
 updated answer on 11 May 2026
1 answer
44 views

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? 

Dimo
Telerik team
 answered on 17 Apr 2026
1 answer
48 views

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:

  1. using the above Repl, change a couple of columns settings like width, order, sort or filter
  2. using the drop down menu on the first column, set the state to locked
  3. click on the Reset State button
  4. notice that all settings are reset to original, except for the locked column

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?

    Dimo
    Telerik team
     answered on 15 Apr 2026
    1 answer
    38 views

    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

     

    Hristian Stefanov
    Telerik team
     answered on 15 Apr 2026
    1 answer
    47 views

    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

    Dimo
    Telerik team
     answered on 14 Apr 2026
    1 answer
    57 views

    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

    Dimo
    Telerik team
     answered on 06 Apr 2026
    1 answer
    42 views

    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

    Dimo
    Telerik team
     answered on 17 Mar 2026
    1 answer
    40 views

    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?

     

    Dimo
    Telerik team
     answered on 09 Mar 2026
    Narrow your results
    Selected tags
    Tags
    +? more
    Top users last month
    Marco
    Top achievements
    Rank 4
    Iron
    Iron
    Iron
    Hiba
    Top achievements
    Rank 1
    Iron
    Iron
    Rob
    Top achievements
    Rank 3
    Bronze
    Bronze
    Iron
    Max
    Top achievements
    Rank 1
    Veteran
    Iron
    Alina
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Marco
    Top achievements
    Rank 4
    Iron
    Iron
    Iron
    Hiba
    Top achievements
    Rank 1
    Iron
    Iron
    Rob
    Top achievements
    Rank 3
    Bronze
    Bronze
    Iron
    Max
    Top achievements
    Rank 1
    Veteran
    Iron
    Alina
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?