Calling ASP.NET MVC Action Methods from JavaScript(haacked.com)
submitted by
rcash(4149) 9 months, 3 days ago
When writing Ajax heavy applications using ASP.NET, MVC is managing the URLs. These URLs aren’t available from code in a static JavaScript file. Two approaches discussed in this article to solve this are, generate the URLs in the view and pass them into the JavaScript API or embed the URLs in the HTML in a logical and semantic manner and the script can read them from the DOM.
|category: ASP.NET
|Views: 45
tags:
ASP.NET another
Everyones tags:
Your Tags: