Have installed the package a ok, however, the macro (usercontrol EyeCatch.Umbraco.SyntaxHighligher.ascx) does not output anything,
On closer inspection in visual studio, the usercontrol doesnt appear to be able to find it's code behind. The dll is present in the bin so not sure what the problem is?
What should the CodeBehind and Inherits fields be for that usercontrol?
Really sorry I didn't come back to you sooner. Been swamped with work here.
I have not been able to recreate your issue in my testenvironments. The EyeCatch.Umbraco.SyntaxHighligher.ascx file is not supposed to output anything at the location it is inserted, but it will insert code at the area the ClientDependency control is used in the template.
Do you have jQuery loaded on your page?
The correct Inherits is "EyeCatch.Umbraco.SyntaxHighlighter.SyntaxHighlighterUserControl"
Just discovered that the package appends the scripts at the end of the file (after thetag) instead of in the header. It might not be related to your issue, but some browser might have a problem with this. Anyway, it will be fixed in the next release.
To see if that is your problem, look at the end of the generated source for your page. It should have a few <link> and <script> tags after the </html> tag.
Cannot find Codebehind - Usercontrol
Hi there, hope you can help,
Have installed the package a ok, however, the macro (usercontrol EyeCatch.Umbraco.SyntaxHighligher.ascx) does not output anything,
On closer inspection in visual studio, the usercontrol doesnt appear to be able to find it's code behind. The dll is present in the bin so not sure what the problem is?
What should the CodeBehind and Inherits fields be for that usercontrol?
Many Thanks,
Tom
Which version of Umbraco are you running?
Hi Ove,
Thanks for getting back; am running 4.7,
Many Thanks,
Tom
Hi!
Really sorry I didn't come back to you sooner. Been swamped with work here.
I have not been able to recreate your issue in my testenvironments. The EyeCatch.Umbraco.SyntaxHighligher.ascx file is not supposed to output anything at the location it is inserted, but it will insert code at the area the ClientDependency control is used in the template.
Do you have jQuery loaded on your page?
The correct Inherits is "EyeCatch.Umbraco.SyntaxHighlighter.SyntaxHighlighterUserControl"
Just discovered that the package appends the scripts at the end of the file (after thetag) instead of in the header. It might not be related to your issue, but some browser might have a problem with this. Anyway, it will be fixed in the next release.
To see if that is your problem, look at the end of the generated source for your page. It should have a few <link> and <script> tags after the </html> tag.
Hi Ove, thanks for getting back,
I have this as the source of the EyeCatch.Umbraco.SyntaxHighligher.ascx file:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EyeCatch.Umbraco.SyntaxHighlighter" Inherits="EyeCatch.Umbraco.SyntaxHighlighter.SyntaxHighlighterUserControl" %>
And visual studio is saying that it can't find "EyeCatch.Umbraco.SyntaxHighlighter" and nothing is coming out in the source,
Sorry about all this! Not sure what it could be,
Thanks for your help,
Tom
I dont think the VS error is related to your problem.
Could you send me the whole source for the generated page and the template?
My email is ove.a (at) online.no
Hi Ove,
Yes! You're 100% correct,
Turns out, http://tweet-it.s3.amazonaws.com/tweet-it.js was killing jQuery on the entire page! Took me ages to spot this!
All working fine now,
Thanks for all the help,
Tom
Glad you got it sorted out. Hope you find the plugin useful! :-)
is working on a reply...