I can't believe I haven't seen this package before, I've been wanting to build it for a while actually, thanks for doing all the hard work! :-)
I already have all the CSS/JS in my current site, but I thought it'd be better to use your clientdepency version, but... When I insert the macro in my template like so:
I get a null reference error (umbraco 4.7, was a clean install at the time, so no upgraded version or anything):
[NullReferenceException: Object reference not set to an instance of an object.]
ClientDependency.Core.Controls.ClientDependencyLoader.TryCreate(Control parent, Boolean& isNew) +45
EyeCatch.Umbraco.SyntaxHighlighter.SyntaxHighlighterUserControl.Page_PreRender(Object sender, EventArgs e) +131
System.Web.UI.Control.PreRenderRecursiveInternal() +112
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4200
Thanks, got it to work by putting runat="server" in the head and a <form runat="server"> somewhere in the page. Don't really want the overhead though, so I think I'll just keep including the scripts/css manually.
Great work! One little problem though..
I can't believe I haven't seen this package before, I've been wanting to build it for a while actually, thanks for doing all the hard work! :-)
I already have all the CSS/JS in my current site, but I thought it'd be better to use your clientdepency version, but... When I insert the macro in my template like so:
I get a null reference error (umbraco 4.7, was a clean install at the time, so no upgraded version or anything):
Try adding runat="server" to your <head> element.
Thanks, got it to work by putting runat="server" in the head and a <form runat="server"> somewhere in the page. Don't really want the overhead though, so I think I'll just keep including the scripts/css manually.
Update never mind, didn't need the form after all. :)
Solved in version 1.1. Will be released later today.
is working on a reply...