Adds inline script to the list for output on the page for the ShareItLibrary.
public static void AddScriptInline(string script, HtmlHelper helper)
public static void AddScriptInline(string script, dynamic viewBag)
public static void AddScriptInline(List<string> script, HtmlHelper helper)
public static void AddScriptInline(List<string> script, dynamic viewBag)
public static void AddScriptInline(string[] script, HtmlHelper helper)
public static void AddScriptInline(string[] script, dynamic viewBag)
The script to add the bottom of the page.
A List of script lines to add the bottom of the page.
An array of script lines to add the bottom of the page.
The current HtmlHelper context.
The current HtmlHelper.ViewBag context.
SiUtil.AddScriptInline("<script language=\"javascript\" type=\"text/javascript\">", viewBag);SiUtil.AddScriptInline(inlineScript, viewBag);SiUtil.AddScriptInline("</script>", viewBag);