While using ClientDependancy in Umbraco, I am getting an error like below in Elmah. It is related to Client Depdency. This error is coming only on a single page Umbraco/Plugins/ExamineInspector/default.aspx. Anyone have any idea?
System.NullReferenceException: Could not find the placeholder
control to render the JavaScript:JavaScriptPlaceHolder
Note the JavaScriptPlaceHolder and CssPlaceHolder values. Your ASPX or your Master page must have these placeholders having the IDs with exactly the same values. You may add them somewhere between <head></head> or anywhere you need the bundled javascript and css. This is how you define the placeholders:
ClientDependancy - Javascript Placeholder Null Reference
While using ClientDependancy in Umbraco, I am getting an error like below in Elmah. It is related to Client Depdency. This error is coming only on a single page Umbraco/Plugins/ExamineInspector/default.aspx. Anyone have any idea?
System.NullReferenceException: Could not find the placeholder control to render the JavaScript:JavaScriptPlaceHolder
In /config/ClientDependancy.config look for a line like this one:
Note the JavaScriptPlaceHolder and CssPlaceHolder values. Your ASPX or your Master page must have these placeholders having the IDs with exactly the same values. You may add them somewhere between <head></head> or anywhere you need the bundled javascript and css. This is how you define the placeholders:
More info about ClientDependency: https://github.com/Shandem/ClientDependency/wiki
is working on a reply...