Call self written JavaScript function from C# in MVC -
i need call self written javascript function c#.
i have seen many solutions this:
page p = new page(); p.clientscript.registerstartupscript(typeof(page), "javascript file", "functionname");
but nothing works me.
what parameter have put in method?
Comments
Post a Comment