After a document is uploaded, SP opens a form (EditForm if I am not mistaken) that allows the user to pick the content type of the new document from a list of document content types allowed in the library. I would like to create a form identical to this except it would present the user with a list of folder content types available in the library.
I am going to replace the new folder ribbon button with my own that would open this new form. The user would then be able to select the folder type he/she wants at which point the form would modify the fields accordingly just as is currently done for uploaded documents. The user would fill out the data and submit to create a new folder.
The problem is that I have no idea how to create my own form or how to populate the list of content types dynamically. I plan to use this form in multiple libraries so the content types need to be generated on the fly rather than hard coded.
Any help would be much appreciated.
P.S. I am using SharePoint 2010 and VS 2010