mvc

asp.net mvc ajax.actionlink applying css to delete confirm dialog

i want to apply css to the delete confirm dialog after pressing the delete link. how can i do that ...

PHP/OOP Help - logic and design issue

Hi, I'm going round in circles trying to work out how best to do this, i don't think it should be too difficult but i'm making it that way! In my site, each time a member provides some data, I store it against an Entry for that member. The idea is that members who submit data consecutively from month to month will be rewarded at some sta...

passing checkbox and textbox values from a view form to a controller action

Hello, I have a view with a form..this form has a textbox and a checkbox in it. i also have a submit button in the form which points to an action in a controller. my question is..how can i pass the values in the textboxes and the checked state of the checkboxes to the controller action? the textboxes and checkboxes are not tied to a ...

MVC Transfer Data Between Views

Hi All, I just started to learn MVC and trying to understand how it works. I dont want to send user to different views for all edit, insert and list operations. In my sample application a View contains a list of items and below the list there is a form (for inserting new items) with action "{Controller}/Create" but there is no Create ...

Asp.net MVC - WebDev.WebServer.EXE hangs

Hi folks, I am using Visual Studio 2008 SP1 with .NET Framework sp1. I am not using IIS but the built-in server provided by vs 2008. I have an ASP.NET MVC project, which sometimes when started opens the browser window & just keeps on trying to load the default page. After stopping the application & killing the webserver, there's still ...

Recommendations for Webbased Archive

Requirements for archival type software 1. Data/Image/possibly video.... upload/search/retrevial/edit from web. 2. Easily implemented user defined Custom Fields 3. Easy backup. 4. Low cost ... either opensource or very low cost I am a very novice programmer. My primary goal is to manage a collection and publish it to the web. Options ...

How do I redirect to the login page in a AJAX Form (Ajax.BeginForm)?

In MVC, how can I properly handle a page time out in an AJAX Form. Currently when submitting an AJAX Form, the DOM of the AJAX form is replaced by the login page content. I would like to redirect the entire page to the Login page. I have an ASP.Net MVC application with a Partial Form inside an Ajax form (AJAX.BeginForm). The applicat...

mvc approach for cms application

Hello I have been tasked with creating a fairly complex web application in php, it is to be a custom CMS that would be able to replicate the functionality and features provided by well known content management systems like WordPress, Joomla or Drupal. I am to try and integrate as much of the functionality that these well known and powerf...

Simple Templating Method in PHP

I'm trying to wrap my head around the best way to do a templating system for my PHP CMS. I'm a little stuck and so I'm looking for a few suggestions or ideas. Here is my desired setup: Each page is composed of various widgets (or content blocks, if you prefer). Each widget has an MVC architecture, with the View being simple, composed of...

State of the art in MVC architecture?

Seems like there are a ton of possible MVC configurations/architectures (MVC, MVVM, MVP, HMVC, PAC, document-view...). Is there any currently accepted 'best' or state-of-the-art MVC architecture? What is the newest thinking? Or is it all a free-for-all and/or simply tied to whichever platform one develops on (e.g. MVVM for WPF)? (Specif...

Passing objects from AppDelegate.m to View Controller

Hi I have an iphone application in which I am fetching & parsing data in in applicationDidFinishLaunching. Now I want to transfer this fetched data which is in one NSMutableArray to my first view controller to display it there. Whats the best way of doing this... ...

MVC and show/hinde panels?

Hi, I am using strong typed views in my MVC and have now manage to show all the editors for my register form as I like. The problem is that I have a radiogroup containing 4 radiobotton, When selecting a radiobutton I neet to hide some of the editors that are bound to the strong typed propertie fields. I could create a javascript funct...

ajax.actionlink

how can i accomodate Html.RouteLink in( ajax.actionlink with updatetargetid="divid")in <%= Html.RouteLink("First", "Pager", new { page = 1 })%> ...

Good examples for MVC?

Can anybody point to/give a very very correct example for the Model-View-Controller paradigm? I mean something really simple (like an inches to cm converter) implemented in some easy-to-understand language (VB.NET?) absolutely and exactly following MVC principles. ...

Routing with multiple parameters

Hi I am trying to add additional parameter in my route routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "CustomRoute", "{controller}.mvc/{action}/{id}/{recid}", new { action = "Index", id = "", recid = UrlParameter.Optional } ); ...

Understanding MVC: Whats the concept of "Fat" on models, "Skinny" on controllers?

Hi, I'm trying to understand the concept of "Fat" on models vs "skinny" on controllers and from what I've been discussing I have the following example (this is taken from a freenode discussion): Q: On MVC paradigm, its said Fat models, skinny controllers. I'm here thinking, If I have lots of methods (on controller) that uses just a few ...

Asp.Net MVC - Open HTML Controls

I'm new to asp.net mvc. I'm looking to create some control for reusing html. I have a complex HTML box for example: <div class="Box"> <div class="Top"></div> <div class="Content"> <div style="padding:10px;"> [CONTENT GOES HERE] </div> </div> <div class="Bottom"></div> </div> Previously using web...

Thread-safe Controller and Utility Classes?

So I'm using Spring MVC and in my controller I call several Utility classes. Do the Collections I use in those utility classes need to be synchronized? Similarly, are multiple threads spawned for each user when they access my webpage in the controller meaning I need to ensure thread-safety? ...

JQuery Datepicker for multiple .NET MVC Input Fields not working

Hello, I have simplified my work for this question but the same problem remains. I am using the Textbox HTML helper to display empty textboxes as I loop through the items in this model. <% foreach (var item in Model) { %> <tr> <td><%: item.ID %></td> <td><%: Html.TextBox("usernames", null, new { @class = "datepicker" }) %></td> <td><...

ASP.NET 1.0 MVC APPLICATION

using VS 2008 i created a clean asp.net MVC application project and changed nothing , on my computer all works fine.after i uploaded to the server i'm facing a problem. the LogOn.aspx page code is from the VS2008 mvc applocation template with no modification , <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits...