I'm working on a website for searching for businesses, then displaying a listing page. We've been toying with the idea of letting the clients manage their listing page using an external CMS. I'm not sure how often this is done, or if it's even best practice. Ideally, we want to be able to setup a listing on our website, then give the cli...
I am having trouble getting the Auth component do the redirects I want in a CakePHP 1.2.6 app.
I have a login form that appears on all pages and I want to keep the user on the page he logs in on. For example, if he is viewing another user's profile, I want to keep him there after logging in, not redirect him to the $this->Auth->loginRe...
I'm working through the NerdDinner ASP.NET MVC 1.0 example.
I have it all working apart from Exception handling. I've modified it very slightly for my own benefit, but basically, when I create a new record that violates a validation rule, I get an ApplicationException being thrown - instead of the form highlighting the incorrect field....
Hi all,
Since Spring 3 was released in December last year, I have been trying out the new REST features in the MVC framework for a small commercial project involving implementing a few RESTful Web Services which consume XML and return XML views using JiBX. I plan to use either Hibernate or JDBC Templates for the data persistence.
As a ...
I have a problem with a custom built ASP.NET MVC2. The strongly-typed views break as the viewdata is treated as 'Object' instead of the corresponding type.
The same views work perfectly with the default MVC2 from Microsoft.
...
Hello there,
I'm making the following jQuery ajax call to an action in ASP.NET MVC. In Firefox the async request is sent to the action in the controller and everything works fine, but in IE no request is sent to the controller.
Here is the ajax call and action controller signature:
$.ajax({
...
Hello,
I am able to run my application just fine on my dev machine but as soon as I publish it to the web server some functionality is lost. Any type of .ajax POST does not work usually with a 401 unauthorized error.
The server is Windows 2008 with IIS7. I also installed Visual Studio 2008 with MVC2 on the server and ran the applicat...
I need to create a web application using ASP.NET MVC, jQuery and web standards for a customer with a style which look like Windows Vista/Seven.
Can anybody indicate me a link to do this with CSS? I have searched on the web, but I couldn't find it. I'd like to have interface elements like "window", "menu", "buttons", "form controls", etc...
Title says it all.
In regards to action heplers, routes, etc...
I look forward to answers from people who've worked with both ASP.NET MVC and some PHP MVC project...
...
My MVC app tends to have a lot of ajax calls (via JQuery.get()). It's sort of bugging me that my controller is littered with many tiny methods that get called via ajax. It seems to me to be sort of breaking the MVC pattern a bit--the controller is now being more of a data access component then a URI router.
I refactored so that I have m...
Is there an easy way to generate a log file that will trace at runtime the path through the code? I would like to see every controller, action, and view that was executed as my program runs.
Can this be done without having to add logging code to every controller, action, and view?
...
Hello.
I've been searching for a solutions for this problem a while but haven't seen any "valid mvc" solution for this.
I hope I can explain my problem clearly enough for you guys.
I need to create a dynamic block of HTML on my website. (eg. a block containing user's latest blog comments).
I have a template view file (a file containing...
Why I'm getting these "file not found exception" errors in the IntelliTrace? The footer.ascx control is located in the "Shared" folder.
Does this mean each of my Html.RenderPartial() will throw 6 exceptions?
...
Operating system : WinXP
Program and version you use to access Google Calendar (FF3.5):
I'm developing a script (based on an existing vCal ASP.NET class I found online) to generate an .ics file. This file works perfectly when importing to Outlook 2003. When I try to import to Google Calendar, I get the following error:
Failed to impo...
Hi,
I've seening quite a few posts on here regarding grids, but nothing specifically asking for a free grid component that supports editing.
Has any body come across such a thing? Is there a JQuery pluggin that I could use?
If not has anybody got any pointers on a good approach to writing my own (using asp.net mvc2 and/or jquery)?
Than...
Hello, I would like your advice about how best to solve my problem.
In a Web server is running. NET Framework 4.0. Whatever the methods and technologies you would advise me. applications built on the basis Asp.NET MVC 2.
I have a database table in MS SQL Server. For each table in database, I must implement the interface for viewing, ed...
Hello! I am writing a button calculator. I have the code split into model, view and a controller. The model knows nothing about formatting, it is only concerned with numbers. All formatting is done in the view. The model gets its input as keypresses, each keypress is a part of an enum:
typedef enum {
kButtonUnknown = 0,
...
I have an issue where I have a partial view that returns some HTML to be displayed. Its called when something is clicked on the page using jquery. The problem is that no matter how I call it, i get back an empty string even though it reports success. This is happening to me using Chrome, going against my local machine.
My controller loo...
I have to work with some code that isn't truly MVC (i.e., it doesn't use an explicit framework among other things). Right now we make do with servlets that pass data to services.
Here is my problem. I am receiving a post to a servlet that contains a whole bunch of address data that I have to save to the database. The data is (obviously)...
What's an example of a reasonably modern, well-designed, fairly complex ASP.NET webforms site, with source code available? Particularly that use MVP or MVC patterns.
Note: I'm not looking for sites that use the ASP.NET MVC framework. I'm looking for sites built with traditional webforms, even if they happen to use the MVC pattern
...