To call javascript from Ajax I need to use this.
---
ScriptManager.RegisterStartupScript(upcorpname, upcorpname.GetType(), "Hi", "blockcoupon()", true);
----