edmistj
6/15/2011 - 7:31 PM

Add Scripts and CSS from Codebehind

Add Scripts and CSS from Codebehind

// Add CSS file to the page on a block
RockPage.AddCSSLink( Page, ResolveUrl( "~/CSS/jquery.tagsinput.css"));

// Add Javascript to the page on a block
RockPage.AddScriptLink(this.Page, "~/Scripts/jquery.tinyscrollbar.js");