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 -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -