Call JavaScript From C# CodeBehind, RegisterStartupScript

i tried all kind of stuff but this works the best for me               
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "temp",
"<script type='text/javascript'>MyFunction();</script>", false); //CreateSearchRow();

Comments

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem

Asp.Net Ending Response options, Response.End() vs CompleteRequest()