Telerik Forums
UI for Blazor Forum
2 answers
735 views

Hello together

I have a hopefully simple question.

How can I access the grouping value in the GroupFooterTemplate?

What I can do in the GroupHeaderTemplate by using context.Value in the GroupFooterTemplate only aggregations are given in the "context".

Any help apreciated.

Best regards,

Benjamin

Marin Bratanov
Telerik team
 answered on 28 May 2021
1 answer
149 views
Hello,

How can I mock TelerikMediaQuery for testing (with bUnit) ?

Regards
Marin Bratanov
Telerik team
 answered on 28 May 2021
1 answer
2.0K+ views

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>

Dimo
Telerik team
 answered on 28 May 2021
1 answer
952 views
Hello!
Is it possible to set expand/collapse state manually?
I'm try to set panelBar.ExpandedItems = null but this isnt change state.
Svetoslav Dimitrov
Telerik team
 answered on 28 May 2021
1 answer
281 views

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

Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
 answered on 27 May 2021
1 answer
2.2K+ views

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?

 

Svetoslav Dimitrov
Telerik team
 answered on 27 May 2021
1 answer
404 views

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.

Marin Bratanov
Telerik team
 answered on 27 May 2021
1 answer
523 views

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

Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 27 May 2021
1 answer
630 views

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!

Marin Bratanov
Telerik team
 answered on 27 May 2021
1 answer
123 views

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

Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 27 May 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?