I am getting this error while creating a aspx template
"[ScriptHelper.RegisterClientScriptFile]: The script was registered too soon, no page form nor header was found"
Here i am using a master page and a child page
A posrtion of my master page is like that
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MyMaster.master.cs" Inherits="CMSApp.CMSTemplates.Business_Site.MyMaster" %>
Could you please post here a whole code of your page template and tell me what exact version of Kentico are you using?
Best regards, Martin
Please, sign in to be able to submit a new answer.