trial?
I want to include jquery function within a master page but am not sure where the code needs to go? Where should I place this block within the master page? Does it go in the head or after the form tag? (sf5.1)
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sf" %>
<sf:ResourceLinks ID="resourcesLinks" runat="server">
<sf:ResourceFile JavaScript Library="JQuery" />
</sf:ResourceLinks>
Martin,
<sf:ResourceLinks runat="server" ID="sfResources"> <sf:ResourceFile JavaScriptLibrary="JQuery" /></sf:ResourceLinks>Hi guys,
@Tim is perfectly right that the resourceLinks tagPrefix should be on the top of the template and after that you can use the control. @Martin, here's some additional information about the ResourceLinks control from our documentation and Gabe Sumner's blog post:
http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/controls/utility-controls/resourcelinks-control
http://www.sitefinity.com/blogs/gabesumner/posts/11-09-01/how_to_use_jquery_and_other_javascript_libraries_in_sitefinity.aspx