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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -