How can I make a cascading dropdown list?
I have Companies and Vacancies tables.
I have Companies and Vacancies tables.
I just cant fix something that seems so easy.
I want a textbox (editorfor) for a model property and I would like to increase its width but nothing is happening. I’m using the code as listed below. I tried setting the width to 500px but nothing happens. Ideally I would like the textbox to stretch over the full width of the container. Any ideas?
I have created an asp.net console application using visual studio 2012, the console application is a sync job between our ERP system and our custom Database. now i need this sync job to run on timely basis , so i created a new task under our windows task scheduler , which calls the console application each hour, which works well.
I currently have MVC project that calls python script via Process (new processStartinfo(“/path/to/python.exe”, ” /path/to/script.py”). Which works perfectly fine in visual studio.
When i publish this on azure how will it be able to call python.exe? (Im probably not constructing this question accurately since this is my very first web to publish and do not have full understanding of publishing)
I have a situation where I need to manually instantiate some objects in Application_BeginRequest that are dependent on some of the same components that I’ve registered with Autofac. I’d like to use the same instances of components that I’ve registered with Autofac with InstancePerLifetimeScope for injection into my MVC and WebAPI controllers. My config for both MVC and Web API works as expected, and an example of a component registration looks like so:
I have an enum like this:
I need to upload multiple files into web server using MVC3 with RAZOR. I have the following code. In the controller, I am getting zero as the file count. How to correct it to get the actual number of files being uploaded and to get the content?
In webform/mvc we can use script and links as,
script src=” Url.Content(“~/Scripts/util.js”)”
Using the default ASP.NET MVC template, I cannot figure out how to increase the FormsAuthentication timeout. It seems to always use 30 minutes.
We recently upgraded our project from MVC 3 to MVC 4. We are targeting the .NET 4.0 framework, and our web app is 32-bit due to some references we have to include.