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
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,
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
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; }
}
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.
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
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