Completed
Last Updated: 22 Jul 2022 12:41 by ADMIN
Release 3.5.0
Naira
Created on: 15 Oct 2019 07:43
Category: DropDownList
Type: Feature Request
10
DropDownList, ComboBox, AutoComplete, Multiselect, Date and Time Pickers open method

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.

4 comments
Chris
Posted on: 18 Apr 2022 19:22

Support directed me to this ticket to vote and track.

Desired

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

Support

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

ADMIN
Marin Bratanov
Posted on: 17 Oct 2019 07:57

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

 UI for Blazor
Naira
Posted on: 17 Oct 2019 07:29
Yes, this is exactly what I need, is there at least approximate dates when this functionality will be supported ?
ADMIN
Marin Bratanov
Posted on: 16 Oct 2019 11:23

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

 UI for Blazor