# Dropdown list filter

**URL:** <https://forum.radzen.com/t/dropdown-list-filter/9053>\
**Category:** Radzen.Blazor Components\
**Created:** [September 24, 2021, 12:27am UTC](https://forum.radzen.com/t/dropdown-list-filter/9053 "2021-09-24T00:27:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzhu](https://forum.radzen.com/letter_avatar_proxy/v4/letter/j/f19dbf/32.png) [@jzhu](https://forum.radzen.com/u/jzhu)\
**Post date:** [September 24, 2021, 12:27am UTC](https://forum.radzen.com/t/dropdown-list-filter/9053/1 "2021-09-24T00:27:38Z")

</div>

Hellow:

I have a list of DTO, the DTO includes three items: DTO {nameId (int), fullName(string), shortName(string)}, the bind-Value

List selectNameId = new string[1];

I created a dropdown list with multiple selection, I used

```
         <FilterTemplate>
                <RadzenDropDown @bind-Value="@selectNameId" TextProperty="shortName" ValueProperty="nameId" Style="width:100%"
                                                                            Change=@(args => OnChangeAsync(args, "DropDown with multiple selection"))
                                                                          Data="listOfSystemTypes" Multiple="true" />
          </FilterTemplate>

```

then function is:  
protected async System.Threading.Tasks.Task OnChangeAsync(object value, string name)  
{  
object value is selected nameId (int)  
selectNameId = How to transfer value to string list here and assign to selectNameId ?????????  
}

My problem is how to convert value to list of selectNames and assign to selectNames

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [September 24, 2021, 6:14am UTC](https://forum.radzen.com/t/dropdown-list-filter/9053/2 "2021-09-24T06:14:45Z")

</div>

> [@jzhu](#):
>
> `listOfSystemTypes`

Your Data property is a list of objects with id and name

---

<div class="post-metadata">

**Author:** ![jzhu](https://forum.radzen.com/letter_avatar_proxy/v4/letter/j/f19dbf/32.png) [@jzhu](https://forum.radzen.com/u/jzhu)\
**Post date:** [September 24, 2021, 3:50pm UTC](https://forum.radzen.com/t/dropdown-list-filter/9053/3 "2021-09-24T15:50:28Z")

</div>

yes, I try to use name to be displayed in dropdown list. when a user select names, then the id(s) will be taken to select data from data table.
