Hi,
I have a Visual Studio solution (SharePoint 2010) in which I have created a custom EditForm for a Content Type (I set the Content Type's EditFormUrl in a Feature Receiver). The custom form has been constructed using the following blog's directions: http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2011/05/12/sharepoint-2010-cookbook-how-to-create-a-customized-list-edit-form-for-development-in-visual-studio-2010.aspx).
Now, the new form is being set on the Content Type, but it fails to load with the following error message:
System.Web.HttpException: The file '/_layouts/<a name>/~masterurl/default.master' does not exist.
The Master Page I want to use, is a custom Master Page and sits in every Site Collection's Master Page Gallery.
How do I point to this Master Page in my custom form? I guess it's a little tricky since the form's aspx sits in the Layouts directory...?
Thanks for any help!