I'm trying to upload a .master with a needed code-behind file. I have uploaded the files to the folder specified on Sitefinity's master page instructions. When I go to view/edit the template based on the master I uploaded I get a Parser Error Server Error in '/main' Application.
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
It cannot load the namespace.class from the codebehind, as called in the first line of the .master.
I've searched the forums and found a similar instance in version 4, saying to compile in Visual Studios. After compiling, it finds the codebehind but errors out on unloading an updatepanel within the .master. (BTW... This all works outside of Sitefinity.)
What might I be missing? Thanks!
Also please note that Sitefinity has the ability to inject ScriptManager if your control requires it. You can decorate your user control with the below attribute so that Sitefinity knows that this user control needs a ScriptManager: