Telerik Forums
UI for Blazor Forum
2 answers
1.0K+ views

I can successfully trigger the OnUpdate event from a simple GridColumn Field update with Incell editing but not when using an EditorTemplate. Any ideas what I'm doing wrong or missing?

<TelerikGrid Data=@ItemsOC
             EditMode="@GridEditMode.Incell"
             OnUpdate="@UpdateHandler">
    <GridColumns>
         
        <!-- This column DOES NOT trigger OnUpdate when edited. -->
        <GridColumn Field="Quantity" Title="EDIT Quantity">
            <EditorTemplate>
                @{
                    ItemToEdit = context as Item;
                    <TelerikNumericTextBox @bind-Value="@ItemToEdit.Quantity" Format="F2" />
                }
            </EditorTemplate>
        </GridColumn>
 
        <!-- This column DOES trigger OnUpdate when edited. -->
        <GridColumn Field="Quantity" />
 
        <GridColumn Field="Description" />
        <GridColumn Field="Cost" />
        <GridColumn Field="SubTotal" />
    </GridColumns>
</TelerikGrid>

 

Doug

Doug
Top achievements
Rank 1
Veteran
 answered on 16 Aug 2020
1 answer
724 views
similar to https://www.telerik.com/products/wpf/pivotgrid.aspx
Marin Bratanov
Telerik team
 answered on 15 Aug 2020
6 answers
337 views

Looking at your online documentation for upgrading a project to the latest version with nuget, I must be missing something... it only shows to run the update command. When I run it (NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/nuget"...), then I go into our projects, the nuget manager shows that 2.14.1 is latest stable. Actually it shows as the only version option.

How do we get the nuget manager to offer the latest release (2.16 at this time)?

Zack
Top achievements
Rank 1
Veteran
 answered on 14 Aug 2020
1 answer
1.6K+ views
Hello, 
i tried to use TabIndex with components so when user hits tab it automatically changes the focus to next component but it doesn't work
and i couldn't find a useful documentation  
Svetoslav Dimitrov
Telerik team
 answered on 13 Aug 2020
1 answer
1.4K+ views

I'm working on porting a UWP app to .Net core, and I can't find how to set the chart area color:

In the UWP, I have the graph sitting in a grid, and my code is

                    var tempBrush = new SolidColorBrush(GetBackgroundColor(_theData[0].ModuleType));
                    theGrid.Background = tempBrush;
                    dataGraph.Background = tempBrush;

I'd assume the Graph has the ability to set a style, but nope.

The samples don't seem to show how to set a lot of things like MajorStep, MinorStep, label rotation etc for a TimeAxis - and I can't find a good reference for what is available. (The API docs have almost no examples.)

Marin Bratanov
Telerik team
 answered on 10 Aug 2020
2 answers
2.0K+ views
When a modal window is shown the browser can still scroll in the background. See https://www.telerik.com/forums/how-to-globally-disabled-scrolling-when-a-modal-is-open for something similar that was happening in the kendo components. Any guidance on a fix for the blazor component?
Mr Chas
Top achievements
Rank 1
 answered on 10 Aug 2020
1 answer
1.3K+ views
Is there any plan to implement the Diagram control in Blazor?
Marin Bratanov
Telerik team
 answered on 08 Aug 2020
8 answers
2.3K+ views

Everything is working fine in my Grid, except the Filterable="true".

When I set the property to true, the grid throws an exception: 

Object reference not set to an instance of an object.
   at Telerik.Blazor.Components.TelerikRootComponentFragmentBase.OnInitAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

 

Any help?

Marin Bratanov
Telerik team
 answered on 07 Aug 2020
1 answer
271 views

Hi, 

I'm very happy to see, that we can now use the contextmenu. 

I can use it on the desktop and on a surface (touch), but not on an ipad.

Is there any possibilty to make it usable?

 

Marin Bratanov
Telerik team
 answered on 06 Aug 2020
7 answers
1.7K+ views

     Hi,

 

I want to set preventDefault to true on my checkbox, something like this:

<TelerikCheckBox Id="checkboxReader"  @onclick:preventDefault="true" Class="checkbox-rbac" @bind-Value="isReader"></TelerikCheckBox>

 

But I get error:

Unhandled exception rendering component: Object of type 'Telerik.Blazor.Components.TelerikCheckBox`1[[System.Boolean, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' does not have a property matching the name 'onclick'.

It works fine for normal input:

<input id="checkbox-rbac-azure-01" class="checkbox-rbac-azure" type="checkbox" @onclick:preventDefault="true" />
Jim
Top achievements
Rank 1
Veteran
 answered on 05 Aug 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?