Telerik Forums
UI for Blazor Forum
5 answers
263 views
Love the new component; however, when updating the reorder/resize parameters, the component is re-rendered, enabling the cursors for resize and drag/drop but no functionality. In addition, when debugging, the options for the front-end do not update after the initial load.
Marin Bratanov
Telerik team
 answered on 25 Sep 2020
2 answers
1.2K+ views

Hello,

 

I'm am loading a flat list with parent-child elements (the children elemnt having a reference to the parent element through a ParentId) into an ObservableCollection and when the data is presented in the TreeList Component the parent nodes are collapsed. Is there a possibility to set the treelist to appear with all the parent elements that have children expanded?

 

Best regards,

Cipri

Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 25 Sep 2020
2 answers
237 views

Hi,

The TileLayout is great. I'm searching a way to dynamically switch the definition according to media breakpoints like width of the screen. Say, on a wide screen I want to present my data in 4 columns, but on a small screen the tiles a very compressed so I would like to have them reordered in 2 or even only 1 column. Is that possible?

Brian
Top achievements
Rank 1
 answered on 24 Sep 2020
7 answers
2.7K+ views

We are building a new server-side Blazor web site that gets its data from our existing ASP.NET Core 3.1 web API hosted in Azure. The API accepts PageSize, PageNumber and a dictionary of field names and values to be used for filtering and sorting, and returns the specified page of records that are filtered, and sorted against the full database table data.

We would prefer to use a commercial Blazor grid component that displays FilterRow UI elements and use the user input values and FilterRow element assigned field names to pass the field names and filter values to our API for filtering. We also want to capture the Sort (column header click actions) to pass the sort filed name and direction to the API and finally, we want to capture the component's pager values for current PageNumber and PageSize to pass to our API. That way, our API can filter, sort and page the full data in the database and just return the result set to be displayed.

We have a working version of the TelerikGrid v2.5.1 athat handles the paging the way we want, since you supply the GridReadEventArgs in the OnRead event that include the PageNumber and PageSize, but the sort and filter elements appear to be bound to the current data and so far, we have not been able to find a way to pull the filter and sort expression out to pass on to our API in a way that actually works. 

Is what we want to do at all possible with your 2.5.1 build of TelerikGrid for Blazor?

 


Marin Bratanov
Telerik team
 answered on 23 Sep 2020
1 answer
886 views

Hi,

Can I have two way binding to SelectedItems and to SelectedItemsChanged event at the same time like the followings:

<TelerikTreeView Data="Items" @bind-SelectedItems="SelectedItems" @bind-SelectedItems:event="SelectedItemsChanged">

<TreeViewBindings>
        <TreeViewBinding IdField="Code" TextField="Title" />
    </TreeViewBindings>

</TelerikTreeView>

working? As Blazor allows binding to event handlers by convensions?

Marin Bratanov
Telerik team
 answered on 23 Sep 2020
1 answer
115 views

Hi , I am trying to use blazor demo . When I try to get code from demo.blazor   my code cant find  @using TelerikBlazorDemos.DocumentProcessing  . What can I do about this ? 

 

 

Marin Bratanov
Telerik team
 answered on 23 Sep 2020
1 answer
108 views

I have a grid with an incell editmode.

If I

  • select the cell to enable the incell mode
  • select the data
  • press backspace all selected data will be deleted
  • type in the new text and the first character is also deleted.

Repeatable in Edge and Chrome

Marin Bratanov
Telerik team
 answered on 22 Sep 2020
5 answers
706 views
Is there a way to allow the user to resize row height? I have a column that could contain a lot of data and I'd like to set the initial row height but allow the user to expand it (in addition to expanding the column width) if they need to see all the text.
Marin Bratanov
Telerik team
 answered on 22 Sep 2020
3 answers
596 views

I want to use an auto complete for selecting an item from an object. I'm using the item template and setting the value to a string. When selecting the name, which is 2 properties on the object it puts the id in the text box. How do I get the name to display while still using the id as the selected value?

 

 

01.@page "/test"
02. 
03.<h3>Test</h3>
04.<TelerikAutoComplete Data="@users" ValueField="@(nameof(TestUser.Id))"  @bind-Value="@userId" >
05.    <ItemTemplate Context="user">
06.        @user.FirstName @user.LastName
07.    </ItemTemplate>
08.</TelerikAutoComplete>
09.<button class="btn btn-primary edit-btn" @onclick="@Test">Test</button>
10. 
11.@code {
12. 
13.    private List<TestUser> users;
14.    private string userId;
15. 
16.    protected override Task OnInitializedAsync()
17.    {
18.        users = new List<TestUser>();
19.        users.Add(new TestUser { Id = 1, FirstName = "John", LastName = "Smith" });
20.        users.Add(new TestUser { Id = 2, FirstName = "Jane", LastName = "Doe" });
21.        users.Add(new TestUser { Id = 3, FirstName = "Olivia", LastName = "Williams" });
22.        users.Add(new TestUser { Id = 4, FirstName = "Noah", LastName = "Jones" });
23. 
24.        return base.OnInitializedAsync();
25.    }
26. 
27.    async Task Test()
28.    {
29.        Console.WriteLine(userId);
30.    }
31. 
32.    public class TestUser{
33. 
34.        public int Id { get; set; }
35.        public string LastName { get; set; }
36.        public string FirstName { get; set; }
37.    }
38.}
Marin Bratanov
Telerik team
 answered on 22 Sep 2020
6 answers
2.8K+ views

Hello,

 

I was wondering if anyone has worked with the Drawer much and has found that if the content takes up more vertical space than the window can handle and the scroll bar appears.  When this happens for me and I scroll down, the drawer menu moves as well.

 

Is there any possible way to make the k-drawer fixed while keeping the k-drawer-content scrollable?

 

Thank you so very much for your input,

 

Jesse

Marin Bratanov
Telerik team
 answered on 22 Sep 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?