Here Mudassar Ahmed Khan has explained with an example, how to Call JavaScript Function from Controller in ASP.Net MVC Razor. Partial View The second argument consists of an AjaxOptions object with the following properties: Property. call javascript function on partial view load To include a JavaScript function, it is as simple as include a