Is it possible to drop dropDownList from outside, for example after its data has been changed, without clicking on it ?
ADMIN EDIT:
This feature is also applicable to ComboBox, AutoComplete, Multiselect, Date and Time Pickers components.
Support directed me to this ticket to vote and track.
I'm trying to build out a button that shows a dropdown of options, each with a checkbox. The user should be able to choose multiple items in the dropdown via checkbox. I noticed there's a solution in the MultiSelect component but the drawback is that it's initiated onclick of a text input. I'd like a button instead of this so I'm unsure if this better achieved as a dropdown instead? I could use a little direction here
The described scenario seems like a custom component between our DropDownList and MultiSelect. The DropDownList has no multiselection as its purpose is to have only one selected item at a time. On the other hand, we can't disable the text input of the MultiSelect as from there comes the popup. That being said, the desired customization will be possible as soon as we release an open method for the MultiSelect popup
Hi Naira,
I moved this thread to our Feedback Portal so you can click the Follow button and get email notifications when there are updates. Here's a link so you can reach it: https://feedback.telerik.com/blazor/1434341-dropdownlist-open-method.
Regards,
Marin Bratanov
Progress Telerik
Hi Naira,
Such a feature is not available at the moment. To confirm whether I understand you correctly, is this what you seek:
<TelerikButton OnClick="@OpenDdl">Open DDL</TelerikButton>
<TelerikDropDownList Data="@MyList" @bind-Value="MyItem" @ref="@TheDDL">
</TelerikDropDownList>
@code {
protected List<string> MyList { get; set; }
protected string MyItem { get; set; } = "second";
protected Telerik.Blazor.Components.TelerikDropDownList<string, string> TheDDL { get; set; }
void OpenDdl()
{
MyList = new List<string>() { "first", "second", "third" };
//TheDDL.ShowPopup();//I want something like this
}
}
Regards,
Marin Bratanov
Progress Telerik