protected override void OnLoad(EventArgs e) { base.OnLoad(e); CssManager.AddStyleSheet(this, GetStylesheetUrl(), string.Empty); JSManager.AddExternalScript(this, "/JS/imgEvents.js"); JSManager.AddExternalScript(this, "/JS/popEvents.js"); }
protected override void CreateChildControls() { base.CreateChildControls(); // In this case the snippet info data is not HTML(which is often the case) // but xml data which contains rendering properties for each page option item processPageOptionsData(SnippetInfo.Data); JSManager.AddExternalScript(this.Page, "/JS/popEvents.js"); }