erichexter / twitter.bootstrap.mvc

nuget package to make bootstrap easy with mvc4
Apache License 2.0
248 stars 134 forks source link

DropDownList #8

Closed kmsameboy closed 11 years ago

kmsameboy commented 11 years ago

Hi.

I can't seem to figure out how to show a dropdown list in the create/edit view. Is there a specific way of doing that? Or any hints on how to implement it?

Thanks.

erichexter commented 11 years ago

Are you trying to do this using the built in auto-scaffolding?

If you are, you could make a EditorTemplate for the type you are trying to make the dropdown for. here is an example of how to do that: http://stackoverflow.com/questions/6744432/reusable-editor-template-with-dropdownlist-for-business-objects

kmsameboy commented 11 years ago

Thanks. That solved it :)