Base solution for your next web application
Open Closed

User Dropdown #7792


User avatar
0
nitinrpatel created

I want to bind my all users(with the specific role) in the dropdown. how it is possible...? i have attached code with that i have bind other dropdown and now i want to bind user table in dropdown.

public ListResultDto<InstSuburbListDto> GetSuburb()
        {
            var suburb = _postCodeRepository
               .GetAll()
               .OrderByDescending(p => p.Id)
               .ToList();

            return new ListResultDto<InstSuburbListDto>(suburb.MapTo<List<InstSuburbListDto>>());
        }

3 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi @nitinrpatel, please share your ANZ version and framework.

  • User Avatar
    0
    nitinrpatel created

    ASP.NET MVC 5.x with AngularJS

  • User Avatar
    0
    musa.demir created

    you can use autocomplete with server operation