Telerik Forums
UI for Blazor Forum
1 answer
2.6K+ 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
289 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
107 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
416 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
1 answer
82 views

Since upgrading from Telerik 3.0.1 to 3.1.0, DateInput controls no longer bind to properties for me. 

The following works in 3.0.1 but not 3.1.0

@page "/TestPage"

<p>Message: @Message</p>
<p>MyDate: @MyDate</p>

<TelerikTextBox @bind-Value="Message"></TelerikTextBox>
<TelerikDateInput @bind-Value="MyDate" Format="dd/MM/yyyy"></TelerikDateInput>

@code {
    public string Message { get; set; }
    public DateTime MyDate { get; set; }
}


Dean
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 16 Mar 2022
1 answer
91 views

I would like to limit how many nested groups in the Filter the user can make.  Something like MaxNestedDepth. 

Does something like this exist? I couldn't see it in the docs. 

Thanks.

PS: there is no tag for the Filter control, Grid was the closest related control I could find. 

Hristian Stefanov
Telerik team
 answered on 16 Mar 2022
0 answers
118 views
When AllowCustom=true, the browser treats it like a textbox and shows Auto Complete choices, yet unlike the TelerikTextbox which has an AutoComplete property which allows us to turn it off, there is no corresponding property for TelerikComboBox, and thus no way for us to disable browser autocomplete for it, aside from setting AllowCustom to false.
Alex
Top achievements
Rank 1
Iron
Iron
 asked on 15 Mar 2022
1 answer
313 views

If I have a field backed by an enum, the Grid will display the name of the enum in the Grid cell, but the Grid search toolbar will not search its string name, despite the string name being what is displayed to the user (it won't search the integer value either, if anyone was wondering) :/ It will work fine for all the other fields that are not an enum.

REPL example:

https://blazorrepl.telerik.com/ccERPPET55C7yHfg40

Apostolos
Telerik team
 answered on 15 Mar 2022
1 answer
594 views

Hello,

I ran into a small quirk when using the Blazor TabStrip component. If I have a list of models for the tabs to be initialized from and I don't set PersistTabContent to be true, only the first tab will call a components OnInitializedAsync method. If I do set PersistTabContent to true then the components get their OnInitializedAsync called, but only once as is to be expected. On the other hand, if I have "hardcoded" the TabStripTabs, then the OnInitializedAsync is called. Is this a bug or am I doing something weirdly?

 

A small demo can be seen at https://blazorrepl.telerik.com/cmadPIvY25vWwvTi23 where if you open the browser devtools and goto the console tab, you can see that when you change the active tab on the upper Strip, OnInitializedAsync is not called if PersistTabContent is false.

 

Regards, Rami

Marin Bratanov
Telerik team
 answered on 15 Mar 2022
1 answer
349 views
I'm looking for an image carousel with both scroll and zoom features. Is that possible with the Telerik carousel?
Marin Bratanov
Telerik team
 answered on 12 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?