We have a grid as the snippet below.
I can't figure out how to put a FilterMenu on the Template(d) columns.
The Filter shows up for the "Id" column, which is just a field.
Is it possible to have a filter menu for the columns which are Template?
<TelerikGrid Data="@_vehicleParts"
Pageable="true"
Sortable="true"
FilterMode="Telerik.Blazor.GridFilterMode.FilterMenu"
Resizable="true"
Reorderable="true"
PageSize="20"
Navigable="true"
OnRead=@OnVehiclePartsRead
TotalCount="@TotalCount">
<GridColumns>
<GridColumn Width="10%" Field="Id"/>
<GridColumn Width="10%" Title="Year">
<Template Context="vehiclePartCtx">
@{
if (vehiclePartCtx is VehiclePart { BaseVehicle: { } } vehiclePart)
{
<span>@vehiclePart.BaseVehicle.YearId</span>
}
else
{
<span>???</span>
}
}
</Template>
</GridColumn>
After playing around with the new Drag&Drop functionality - I found a possible issue
After Drag and Drop a lot (about 20 to 30 times) the Grid does not refresh anymore. Also the demo (Blazor Telerik Demo) does not work correct anymore - have a look at the attachment
Best regards
Matthias
I have a common scenario that my users complain about and find annoying.
1) I have a DatePicker with format of M/d/yyyy
2)They click in and (for example) quickly type 2/20/2021 expecting that to be the date, instead as soon as they hit the forward slash it jumps to the year and leaves them with 2/d/0020
3) In an attempt to fix it the user will press backspace to delete a character but that clears it all and leaves the yyyy highlighted, forcing them to stop their workflow and click back to the start and be careful not to mess anything up
This is not very user friendly. Reproducible here: Blazor DatePicker Demos - Overview | Telerik UI for Blazor
I and our users much prefer what they are used to in your Telerik Ajax tools that pops open the calendar when focusing on the box and will allow for free flow typing of a date, allowing a variety of formats on the fly and verify on leaving the field. https://demos.telerik.com/aspnet-ajax/datepicker/overview/defaultcs.aspx
Are there any workarounds or should a feature request be submitted?
Hello,
Yesterday, ASP.NET Core, the web-dev component of .NET, received a new functionality in the new NET. 6 Preview 4: Ahead-of-Time (AoT) compilation for Blazor WebAssembly.
Do you plan to update current Telerik Blazor demo to confirm that AoT will drastically enhance Telerik Blazor control execution speed ?
Thanks.
Jonathan.
Hi everyone,
I have binded a datatable to my grid and the Edit Mode was set to Inline. In an Editor template I have added for example TelerikNumericTextBox like this:
<TelerikNumericTextBox Arrows="@false"
Value="@((decimal)dataRow[col.ColumnName])"
ValueChanged="@((decimal value) => { OnDecimalCellValueChange(col.ColumnName, value); })" />
No when I want to edit the value this error appears
System.InvalidOperationException: Telerik.Blazor.Components.TelerikTextBox requires a value for the 'ValueExpression' ValueExpression is provided automatically when using 'bind-Value'.See more at https://docs.telerik.com/blazor-ui/knowledge-base/requires-valueexpression
I have read the details from that link but it doesn't seam to work, I don't have a model but a datatable binded to my grid.
Is there in this situation a solution?
Best regards,
Cipri
Hello,
I try to insert a YouTube iFrame into the editor but it is automatically removed from the editor. Even when I use the "Edit HTML" function it is removed on save.
How can I embed a YouTube video or other iFrame?
Thanks for your support!
Hi everyone,
Is there a way to edit inline a grid if I bind a datatable to it? because now it doesn't seam to work.
Thank you.
Cipri