Telerik Forums
UI for Blazor Forum
1 answer
165 views

I am using TreeList and a custom template on a column to display user avatar. I also need to sort and filter on this column. However when combine all of these features (sort and filter) on a template column, it doesn't work. There are 2 scenarios:

- When enable sort, the filtering works

- When disable sort, the filtering doesnt work

Is there any work around solution for this? I am using UI for Blazor 3.0.1

 

My snippet

https://blazorrepl.telerik.com/mQuxlWkD32B5eGay33

Radko
Telerik team
 updated answer on 21 Mar 2022
0 answers
168 views

Hi,

We're new to Teleric UI control and we plan to build a one page on Blazer client and use Blazor server in the Server side. 

The server contains business logic to connect to a Azure DB.  On client side, we provide a simple textbox to input search parameter and trigger a DB search. The result will be returned by several stored procedure kind of functions. 

On the client side, we hope to display a tree.  When user click the root node, it'll expand with 3 child nodes. We hope to do data binding to a data table in the node. 

Does TreeList  or TreeView control support that functionality?

Thanks,

Ellen

Ellen
Top achievements
Rank 1
 asked on 21 Mar 2022
1 answer
548 views

Hello,

is there a way to avoid collapsing and/or expanding tree items depending on the value of a property from the data model ?

 

Additionally a feature request would be helpful: E.g.

Model:

class Node {
  public int Id {get;set;}
  public int ParentId {get;set;}
  public string Name {get;set;}
  public bool IsExpanded {get;set;}
  public bool IsCollapsed {get;set;}
  public bool CanExpanded {get;set;}
  public bool CanCollapsed {get;set;}
}

Bind properties IsExpanded/IsCollapsed to the tree => OnInitial render the node is expanded/collapsed

Bind properites CanExpanded/CanCollapsed to the tree => able to expand/collapse a tree node (and render the indicator differently)

 

Marin Bratanov
Telerik team
 answered on 19 Mar 2022
1 answer
1.2K+ views
I want to provide a dropdownlist with some known values.  There is a chance that the user will want to input another value other than in the dropdown.  Is there an example of having a dropdown list with either a optional value that can be specified in a textbox or such?
Marin Bratanov
Telerik team
 answered on 19 Mar 2022
1 answer
216 views

Hello, 

Any way possible that a custom method can be fired using the selected items from multiselect. There is absolutely no where in the documentation to specify this. It is only provided SelectedItemsChanged that takes lambda. When trying to fire a custom method on selected items when the user clicks a button, the follwing   error is thrown: 

Argument 2: cannot convert from 'method group' to 'EventCallback' .

 

It is provided a link below : The lambda expression in the handler is required by the framework: https://github.com/aspnet/AspNetCore/issues/12226. 

It doesn't really make sense why this link has been provided as it takes you to a blog page and absolutely no solution is provided.


So may I ask, how do you fire a custom method only on the selected items?

Thank you.

7

Kind regards

 

Marin Bratanov
Telerik team
 answered on 18 Mar 2022
1 answer
135 views

Hello,

Any way possible that you can use GridCheckboxColumn multiple select and fire a custom method only for those selected items? I didn't see anywhere is the documentation if it's possible. Thank you

Marin Bratanov
Telerik team
 answered on 18 Mar 2022
1 answer
2.9K+ views

Problem Description

In my code currently we have a Telerik DropDownList that triggers a redraw of a TelerikGrid based on the option selected within the dropdown.  

The current challenge is that when the DropDownList selection is changed, the focus is still set to the DropDownList.  The effect this has is that when a user attempts to click the edit or add buttons within the Grid, the user has to click twice with the mouse.  The first click doesn't seem to do anything because it's that click that causes the focus to be taken off of the DropDownList, while the second click actually allows the desired action to be triggered.

Note below, how focus is still set to the dropdown

 

The problem is that the DropDownList doesn't have a Blur() event, and none of the Telerik Components within the page (Form, Grid, and all of their child components) have the SetFocusAsync() method.  

 

Current Solution in Place

The current solution we're using is to have an invisible TelerikTextBox on the page that we call SetFocusAsync on when a selection is made to the DropDownList. This is not the most ideal solution and I am reaching out to see if there is a better way to handle this.

 

Thank you so much, and enjoy your day!

ADAM

 

Apostolos
Telerik team
 answered on 18 Mar 2022
1 answer
408 views

Hi,

How do I add colors to the Editor text color picker in the editor?

The colors Red, Purple, Pink, etc are missing from the color picker.

The editor can support the missing colors, but they are included in the color picker.

 

Thanks,

Apostolos
Telerik team
 answered on 18 Mar 2022
0 answers
145 views
Hello!
Is is possible to replace default pager's buttons tooltip to TelerikTooltip?



Tooltips for "Go to next page", "Go to previous page" etc...
Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 17 Mar 2022
1 answer
520 views

Hi, do you have a working sample of Cascading DropDownList with Virtualization?

My use case:

There are 2 dropdowns (A and B), dropdown B cascaded from A, dropdown B has virtualization turn on (large data) .

I want to use the onChange-virtualization so I can still use my standard bind-value.

I tried to follow your example https://docs.telerik.com/blazor-ui/knowledge-base/samples/dropdownlist-cascading-samples.zip from your article https://docs.telerik.com/blazor-ui/knowledge-base/dropdown-cascading

The problem with that "onchange-virtualization" sample is the second dropdown is still loading all the data

 

I already tried not calling GetAllproducts() but just calling Rebind() (on the productDropDown) now the problem is the selectedValue on the second dropdown won't change after the first dropdown value has been changed. This does not happened when I use non virtualization.

The other problem with Rebind(): the skip value is not reset to 0.

 

So do you have the latest sample for this common virtualization use case?

 

Thank you

 

 

 

Dimo
Telerik team
 answered on 17 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?