Can I specify a custom location to “search for views” in ASP.NET MVC?
I have the following layout for my mvc project:
I have the following layout for my mvc project:
I would like to enable a ASP.NET classic (ASMX) web service for HTTP POST and GET requests. I realise this can be done on a machine or application level by adding …
I have a jQuery UI Dialog working great on my ASP.NET page:
I have been having this problem for a couple of weeks now. The problem is that the query takes 4-5 minutes to run on the website and at most 2 or 3 seconds to run in ssms. Also I found that after I make a change to this query like adding the customerId variable it will start running quickly on the web page but by the next day it is slow again. The query in question is this one:
In ASP.NET MVC 2, I’d like to write a very simple dropdown list which gives static options. For example I’d like to provide choices between “Red”, “Blue”, and “Green”.
Which is the easiest and most unobstrusive way to keep an ASP.NET session alive as long as the user has the browser window open? Is it timed AJAX calls? I want to prevent the following: sometimes users keep their window open for a long time, then enter stuff, and on submit nothing works anymore because the server side session expired. I don’t want to increase the timeout value for more than 10 min on the server as I want closed sessions (by closing the browser window) to time out fast.
I have an (ASP.NET 3.5) intranet application which has been designed to use forms authentication (along with the default aspnet membership system). I also store additional information about users in another table which shares its primary key with the aspnet_users table.
Here is my code:
Does anyone know how to pass a C# ASP.NET array to a JavaScript array? Sample code will also be nice.