in a controller of an ASP.NET MVC 4 application, I have this code:
public ActionResult View(ExpenseInput objExpenseInput)
{
// Read from web.config
// Then I have some variables
string pathValue = System.Web.Configuration.WebConfigurationManager.AppSettings["filters"].ToString(); // LZ
// How can read these values from JavaScript
This reading a list of comma separated values of string from web.config.
Now my problem is read these values from a JavaScript (inside the Scripts folder of the project).
Is it possible do this?
Thanks a lot in advance.
Luis