Run JS from C#, RegisterStartupScript example

ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "temp",
    "<script type='text/javascript'>ArrangeDGV();makeEfferctForGrid();</script>",
    false);

just put it somewhere in the page class and it will run the relevant JS funcs, very usefull with UPP

Comments

Popular posts from this blog

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

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

Bresleveloper's AngularJS Tutorial : Table of Content