codefile doesnt exist
Hey guys - I need a little help. I'm a designer - highly proficient with XHTML & CSS.
I followed the documentation for creating a new master page (http://www.sitefinity.com/documentation/designers-guide/creating-a-template/creating-a-template-using-master-pages.aspx). However, when I get to the part where I create the template I get the following Parse Error:
|
Hey Justin, it's a mistake in the documentation. I noticed it too but forgot to submit a bug about it. Just remove the last two attributes so your first line reads:
<%@ Master Language="C#" %>
Hi Michael,
The error is thrown, because the code behind of your master file does not exist - MasterPage2.master.cs or it cannot be found due to a wrong namespace. If you have manually copy-paste this master page, please make sure that the web application has been built. Also I suggest that you should use user controls and custom controls that you drag/drop on the master page or your pages.
Regards,
Ivan Dimitrov
the Telerik team
Thanks! That fixed it.
I gotta say, the designer documentation is pretty weak. It's also missing the closing of the ScriptManager call which causes a server error: <asp:ScriptManager ID="ScriptManager1" runat="server" > (should end with />).
Documentation on CSS & JS implementation is also vague. I'm a little disappointed thus far.