Skip to content

Instantly share code, notes, and snippets.

@boldfacedesign
Created November 1, 2013 11:39
Show Gist options
  • Save boldfacedesign/7264260 to your computer and use it in GitHub Desktop.
Save boldfacedesign/7264260 to your computer and use it in GitHub Desktop.
Call client-side JavaScript from code behind 'EPiServer syntax'.
System.Web.UI.ScriptManager.RegisterStartupScript(this, this.GetType(), "name_of_function", "function()", true);
Note: Client side JS function must be defined in the global name space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment