jeudi 13 août 2015

Using Select2 in dropdownlist

Can't seem to get select2 working correctly in my view.

@Html.DropDownList(
    "ResourceID"
    , null
    , "--Select--"
    , new {@class="input-control" ,data_role="select" })

If I use select2 outside of the DropDownList then it works so I know it's not a jquery or select2 issue.

http://ift.tt/1TzuvG2



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire