I have a custom form where users have an option to upload attachments to a list item. This works without issue, however, I would prefer if I could use ASP in the HTML to embed the SP attach file dialog in my modal that pops up rather than have my modal popup, have them press an "Upload File" button and then have the SP modal dialog popup.
Is there simply a way to have this SP modal dialog embedded into my modal itself so I can do away with the need to click to display SP dialog modal?
So basically what I want is the content of the SP Dialog modal to be displayed in my modal and replace the Upload New File button so when they pop up this modal they simply have to click the browse button, find the file and then click OK or cancel without having to open another modal.
Is this possible?
OK, I was able to load the page into a div using jQuery---had to wrap it in a $(document).ready() function to get it to work, but same problem...it's loading the entire page, when I just want the small part that pops up into the modal that it brings back...any help?