We have a content type that we want to be searchable in the front-end, so my approach was to create a widget that has an empty part record model and have the display method of that part's driver show a search form that would query the content types via ajax/json
from a controller action.
First things first, is there a better way to handle this situation within Orchard, or is this standard practice for front-side display-facing forms?
Second, if it is the way to handle it, I'm having difficulty getting my SelectListItems passed into my display view to render a dropdownlist...it's complaining about the objects being dynamic and therefore they aren't able to be used in DropdownListFor()
I'd love to have a discussion on this so I know I'm going down the best path possible within Orchard...