Hello,
I am trying to create a form in MVC C# that will allow a user to input a Last Name, First Name, Department, Year and click a Search button that will bring back a list of employees based off the inputted search criteria.
My problem is allowing multiple search textbox criteria into one search button.
I am able to hardcode value...
I have a purchase page and I don't want the user to be able to refresh the page and resubmit the form once they get to the 'order complete' page because it automatically sets them up in our system via database values and charges their card via paypal (only want these to happen ONCE)... I have seen some sites that say 'Don't hit refresh o...
Are there recommendations for/against upgrading the included jQuery 1.3.2 to 1.4?
...
In certain error conditions I would like to redirect to the Home controller but I want to make sure that I don't get into a "redirect" loop (with an exception being generated each time resulting in yet another redirect). What is the best way to do this?
...
I am brand new to asp.net MVC and JQuery. I've created a MVC site using the NerdDinner tutorial. For the create and edit views, I'm using a partial view (code simplified below) for data entry. Where would I place my jquery code?
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Marlow.Controllers.SubcontractFormViewM...
Are there any existing frameworks or examples of dynamic documentation for RESTful web services in ASP.Net MVC?
I've got a bunch of web services in an ASP.Net MVC project that I want to document. For each service, I'd like to show the allowed verbs, a url template, example request and response messages. It would be really nice if the ...
Is it possible to run Python & Django on IIS?
I am going to be a Lead Developer in some web design company and right now they are using classic ASP and ASP.NET.
As far as I can see ASP.NET MVC is not mature. Should I recommend Python & Django stack?
If it's not possible to run Python on IIS what do you think I should do? Stick with ASP.N...
I already have a database with about 20 fields of userprofile information. Im not sure what the advantage would be for creating a custom provider instead. Can someone explain what is the benefit? thanks.
...
I have a list of data coming from the database and displaying in a table, that works exactly how I want.
What I would like to do, is add a DropDownList to the page that "filters" the data in the table, based on the value of the selected item in the DropDonwList.
For example, the DropDown has these values
Assigned To Me
Assigned To Ot...
As the topic says. What are the reasons and scenarios why I am adding a view for a controller method, that I should select the checkbox "Create a partial view (.ascx)?
...
Hello;
I have a ASP .NET MVC 1.0 application which contains few ASPX files located instead Reports folder (located on root) of application.
My Global.asax contains following lines:
routes.IgnoreRoute( "{resource}.axd/{*pathInfo}" );
routes.IgnoreRoute( "{resource}.aspx/{*pathInfo}" );
routes.MapRoute(
"Default", // Route nam...
Hello,
I´m not looking for code directly, but for some ideas how to solve my problem the best.
There is this asp.net mvc application I´m working on. It should be "highly modular" and many parts have to be reused across different projects.
Our current approach is using the Managed Extensibility Framework to import assemblies at runtime...
Hi
I have a website that we migrated from ASP.NET to MVC Framework.
The url With ASP.NET that used to be Ex: http://Website1/MasterData
The URL now with MVC Fraemwork became http://Website1/Home/MasterData.
Now as the users of the site have Bookmarked the old URL, Now we need to maintain the same url.
I would appreciate if anyone ca...
EDIT
I put my solution on a share site. Like that you'll be able to see what I'm talking about. You can download it here : http://www.easy-share.com/1909069597/TestRenderAction.zip
To test it, start the project (let the create form empty) and click the Create button. You'll see what happen.
It's only a example project. I don't care to...
I have asp.net mvc site, my action generate the page, using master page. on master page included widgets by RenderAction helper. How can i use one database connection in page controller and in widget controller?
...
We have an ASP.NET MVC application. Is it correct to think of the models as the "entities" in the system?
Presumably this comes down to the "type" of model (view or domain) - and if they are domain models then they are equivalent to entities?
Edit: I ask the question to determine whether the introduction of the "entity" nomenclature in...
I have a ASP.NET MVC site and it works just fine when I run it locally. Once I deploy that site to IIS 7 all links to resources are broken (ie. script files, images, css files). Could this be a route issue or would it be an IIS setting?
Here are my routes:
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRou...
I am looking for a full-blown shopping cart example for ASP.Net MVC. I found plenty of links pointing to MVC Storefront (1) (Apparently not being developed anymore) and other articles which talk about Kona, a separate project based off MVC Storefront. Too bad, MVC Store Preview 1A had me pretty happy.
Are there any "production ready", o...
I've searched SO and have been unable to find this question asked before, but I can't believe I'm the only one running into it. If this is a duplicate, please point me to the original question.
In VS2008, I have some ASP.NET MVC markup in a script section on some of my pages. I end up getting "expected expression" warning squiggles on...
I have a ViewModel class containing a Dictionary (and other irrelevant things for this question):
public class MyViewModel {
public Dictionary<int, string> Data { get; set; }
/* ... */
}
Then I have a couple of GET/POST actions that deal with the dictionary. The GET action will first fill the Dictionary<int, string> with some ...