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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -