Currently, I am in the process of developing a contact form within ASP.NET MVC. This contact form will allow users to easily attach regular files through traditional file and browse functions. Additionally, users will have the option to search for a specific person and attach files associated with that individual. While the first part is straightforward, tackling the second aspect has proven to be quite challenging.
To address the attachment of files related to a particular person, I plan on implementing a 2-3 page wizard. Users will encounter a search field where they can input the user's name, perform a search, and view a list of results. Upon selecting a name, users will be shown a collection of related records from which they can choose certain ones to attach. Once they click "attach," the files will then appear in the contact form.
My main concern revolves around ensuring the integrity of the MVC architecture while transitioning between pages or utilizing modal windows (specifically, determining if modal windows can navigate across pages). I want to ensure that bypassing controllers in the modal or pop-up window will not disrupt the MVC framework.
I am hesitant to integrate AJAX calls into this process, so I am seeking advice on how best to implement a pop-up window for the quick 2-3 page search wizard. How can I effectively transfer the gathered information back to the base window without relying heavily on AJAX functionality? Will leveraging basic JavaScript and HTML suffice, or should I anticipate a more intricate process or ultimately embrace the use of AJAX?