Telerik Forums
UI for Blazor Forum
3 answers
408 views

I'm using a state container to basically one-way bind the data to the state container (see https://www.youtube.com/watch?v=KlPaM0yWWbQ).  I cannot use to CascadingParameter because the code would trigger unnecessary UI updates, so State Container serves my purposes perfectly.  Generally, the blazor code w/ the Grid is:

        <TelerikGrid Data="@Elements"  Sortable="true" FilterMode="Telerik.Blazor.GridFilterMode.FilterRow">
            <GridColumns>
                <GridColumn Field="@(nameof(ClaimObject.Text))" Title="Text" />
            </GridColumns>
        </TelerikGrid>

@code {

    protected override void OnInitialized()
    {
        AppState.StateChanged += OnClaimStateChange;
    }

    public List<ClaimObject> Elements => AppState.GetElements();

    void OnClaimStateChange(object sender, EventArgs e) => StateHasChanged();

}

When the first ClaimObject is added, the grid refreshes.  However, adding any subsequent ClaimObjects does not update the UI.  

Conversely, the following code updates every time:

        foreach (var element in Elements)
        {
            <div>@element.Text</div>
        }

Both Grid and TreeView are updating working this way.  Any suggestions to get the grid to refresh when the State Container updates the data?

 

 

Marin Bratanov
Telerik team
 answered on 01 Oct 2019
3 answers
93 views

Hello,

why the demo site is so slow and full of bugs ( duplicated menu, none drop down not working on Firefox , strange side menu behavior on drop down, grid filter menu icon no hand on mouse over... ) .

Can we expect the same in implementation?

 

Tino.

Marin Bratanov
Telerik team
 answered on 30 Sep 2019
7 answers
239 views

Hi

I have created a brand new Blazor Server project .NET Core 3.0 (released version) and added Telerik.UI.for.Blazor 2.1.0. When I go to publish the app (Self-contained to a folder) it fails.

There are numerous errors that relate to "package downgrade detected xxx from 4.3.0 to 4.0.1"

Is this a known issue?

 

Here's an example of one of the errors:

SeverityCodeDescriptionProjectFileLineSuppression State
ErrorDetected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.

Marin Bratanov
Telerik team
 answered on 30 Sep 2019
3 answers
90 views

If I upgrade to 2.1 I get the following error when trying to run my project in the latest VS.

 

System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.DataSource, Version=1.2.0.0, Culture=neutral, PublicKeyToken=20b4b0547069c4f8'. The system cannot find the file specified.

Downgrading back to 2.0 makes this go away.

Maybe I am missing an upgrade step?

Marin Bratanov
Telerik team
 answered on 30 Sep 2019
1 answer
515 views

I have a tab strip with a razor component (mycontrol.razor) inside the first tab. Inside my component's OnInitializedAsync() I load a Telerik grid with data. If I click on the 2nd tab (or any other one) and then click back to the first tab then my component's OnInitializedAsync() method is called again. Is this supposed to happen? I tried a different vendor's tab and it doesn't do that which I think is correct behaviour. 

Thanks.

Marin Bratanov
Telerik team
 answered on 30 Sep 2019
1 answer
413 views

Hello!

Is there a way to have multiple GridToolBar's? If i add multiple ToolBar's to the grid, only the last one is used.
It would be very nice to have multiple ToolBars below each other (with more GridCommand types likes Dropdown Lists, ...)

Greetings,
Niklas

Marin Bratanov
Telerik team
 answered on 27 Sep 2019
1 answer
152 views

     Is there currently range selection functionality like asp.net core?

https://demos.telerik.com/aspnet-core/chart-api/selection

Marin Bratanov
Telerik team
 answered on 27 Sep 2019
1 answer
318 views

Here is my situation :

I have a grid (grid 1) where a user selects a row and then information of that selected item is displayed in a different group of controls.  In particular, the selected item has an observable collections that bound to a second grid (grid 2). My issue is that if I select an item from the grid 1 and the item's collection displayed in grid 2 has multiple pages then I click on a page greater than 1 (for example page 3).  Then I select a new item on grid 1 and all of its items in the respective collection bound to grid 2 are bound to the grid but I see nothing displayed in the grid if this collection doesn't have enough items to appear on the page from the previous selected item (ie page 3 in this case). I do see the paging control and if I click on the "1" for page one then I see everything in the collection correctly. Is this by design? Am I supposed to reset the page on the grid manually? Is this because it is an observable collection?

Marin Bratanov
Telerik team
 answered on 26 Sep 2019
9 answers
1.2K+ views

Greetings!

I am unable to install the Telerik Blazor UI in both new and existing projects ..

  • Visual Studio 16.3.0 Preview 4.0
  • Blazor WebAssembly App, ASP.NET Core Hosted
  • Blazor 3.0.0-preview9.19457.4
  • current .NET Core 3.0.100

New project:

Error: Expecting an option, got instead: Files\dotnet\sdk\NuGetFallbackFolder\system.xml.xpath\4.3.0\lib\netstandard1.3\System.Xml.XPath.dll -a C:\Program TelerikExample.Client ...

Error: The command "dotnet "C:\Users\Admin\.nuget\packages\microsoft.aspnetcore.blazor.mono\3.0.0- ....

Existing (running with EF Core, AutoMapper, ...) project:

Error after adding the Telerik.UI.for.Blazor.Trial: NU1107 Version conflict detected for Microsoft.CodeAnalysis.CSharp.Workspaces. Install/reference Microsoft.CodeAnalysis.CSharp.Workspaces 3.3.0 directly to project Weca.Server to resolve this issue.

Error: MSB3073 The command "dotnet "C:\Users\Admin\.nuget\packages\microsoft.aspnetcore.blazor.mono\3.0.0-preview9.19456.1\build\netstandard1.0\../../tools/illink/illink.dll" -l none --disable-opt unreachablebodies ...

What can i do? I'm unable to solve the version conflict (either the manual added version of CShap.Workspaces and the NuGet installed version doesn't work)
I'm trying to check which UI framework to pick, so any help is MUCH appreciated!

Niklas

Marin Bratanov
Telerik team
 answered on 26 Sep 2019
1 answer
121 views
Right when I was asking for money to purchase the suite!
Bozhidar
Telerik team
 answered on 25 Sep 2019
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?