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

CPanel - WHM - change sending email via server to email Relay (email supplier SMTP) (mailgun)

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

JS Link Tutorial, Sharepoint 2013