Skip to content

Instantly share code, notes, and snippets.

@jpolvora
Created November 17, 2014 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpolvora/5cccfae252ebe60b999e to your computer and use it in GitHub Desktop.
Save jpolvora/5cccfae252ebe60b999e to your computer and use it in GitHub Desktop.
@if (TempData.ContainsKey("error"))
{
<script>alert('@Html.Raw(TempData["error"].ToString())')</script>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment