With introduction of Html.EditorFor all just seams easier. All but one thing: EditorFor< SelectList>
What would be the best way to make it work? What I need is either a checkboxlist, a dropdownlist or the like.
I can easily find mvc1 solution for the problem, but mvc2 seams not to be there.
Any thoughts?
...
I am trying to solve a problem in Objective-C, but I don't think the question is language specific.
I have to do some processing down in a model class that has no notion of UI. However, this processing takes some time and I want to let the user know the status via a progress bar.
My first attempt at this was defining a notion of a pr...
I have an application with the following UI components:
Main Menu
Folders Tree
Query Builder
Tabbed Lists (each tab has a grid that can display data entities)
The application is based on MVC, so each component listed above has a controller and a view.
The first three components need to display data entities on the list (as new tabs...
Hi,
I'm implementing a wpf application which display a list of items, and provides the functionality to filter this list by typing in a textbox (quite trivial use case i think).
We're using a MVVM structure.
My question is, whose responsibility is it to filter the list? The view or the viewmodel?
Should I implement an "OnTextChanged" ...
Hi all
Ive been doing a bit of research / reading into mvc recently and was just wondering what the main purpose is.
is it as some people say to seperate the logic from the html
or to create clean url's
i could be missing the point completely, but asp.net forms really seperates the logic from the html and if you just want clean ur...
Hey!
I'm looking for fresh ways of programming in javascript. My goal is to create javascript application like GMail. I tried GWT but it seams so complicated and the code isn't stylish.
I found MVC patteren to be a good way of programming. I always have problems organizing the code in javascript. When I use CakePHP or RoR, everything ...
Say you've got a view which requires some piece of data which requires some calculation, but no outside dependances. (For example, an enumerable string listing of the past 5 years.) Is it acceptable to place this in a strongly typed view class?
Something like this:
class HomeIndexViewData
{
// ...some view data...
public IEnumerable<...
I'm extremely annoyed with the way Visual Studio works when I write inline C#/MVC in the View. I think the source is horrendous to look at, and I wonder if there aren't some alternatives available, to make the View-code look prettier.
Perhaps some kind of extension-language or pre-processing formatting...
** EDIT **
Found:
Spark
NHa...
Hi All,
We have got a project in its very early stage where we need to build a text based game for Facebook. The platforms and technologies have not yet been finalized but here is what we think we will be doing. Just wanted to ask for your opinion if that is the best way to go.
We are thinking to build the game in ASP.NET MVC using Fac...
I have an ASP.NET MVC app which uses a jquery ui dialog for file upload. Everything is working fine with loading the dialog with the correct content and displaying the dialog on my click event however my issue is that after I process the action in my controller action method I don't return back to my dialog as I would expect an ajax like...
What is the best way to unit test the controller action HttpAcceptAttribute verbs?
So far I have the following but it's so ugly even a mother couldn't love it and not very flexible. Is there a better way?
[Fact] // using xUnit, mocking controller in class
public void FilterControllerTestRemoveFilterByProductAttributeIsOfTypePost()
{
...
Hi,
I'm trying to design a simple Cocoa application and I would like to have a clear and easy to understand software architecture. Of course, I'm using a basic MVC design and my question concerns the Model layer. For my application, the Model represents data fetched on the Internet with a XML-RPC API. I'm planning to use Core Data to re...
Hey... I started using Javascript MVC SproutCore Framework (sproutcore.com) and I found it impressive. But...
Where can I find good tutorials for it?
Where can I find widgets for it?
How can I use (best practice, loading librarys, implementation) other frameworks like Spry framework (http://labs.adobe.com/technologies/spry/).
Thx!
...
I've been getting to grips with MVC (in PHP) by way of Zend. My understanding of the Zend Framework is that each type of user request maps to a specific controller (which in turn may or may not map to a model), and each action maps to a view. I've noticed the same pattern in Codeigniter and Kohana, and to some extent also in Symfony. Eff...
any good recommendations for databinding. i am starting to look into WPF more and i want to fully understand the how databinding work under the hood here. also, WPF is just one example as i assume there is a common pattern with tech like asp.net mvc data binding, etc.
...
I am working on a new JavaScript architecture for a web app iteration. The previous iteration had lots of inline code, scattered includes, no directory structure for .js files and everything was in the global namespace. I am aiming to: keep the script includes in the footer, keep everything in an application namespace/object, add organiz...
Hi,
I think part of the question is of course, how do I fix this:
I have an ASP.NET MVC site which on the web development environment Cassini triggers the:
protected void
Application_BeginRequest(object
sender, EventArgs e)
{
}
on a file upload, but when I publish this to my IIS7 machine it will...
Hi everyone.
I'm developing high load solution with final version of asp.net mvc.
Recently our team noticed, that most of the time that takes a server to response to client is devoted to page rendering. Simple time-schedule looks like this:
Page start - 1.8608363s
Render module 1140/Modules/Owners start - 1.86859s
Render module...
I am developing a large-ish application in WPF/WCF/NHibernate/etc. and have implemented the MVP pattern (although this question is still relevant to MVC) as the core architecture.
It feels quite natural to extend and add functionality as well as to come back and make changes on certain bits and pieces, as far as the core architecture is...
Some body tried Spark View Engine with asp.net mvc 2 preview 2?
I have a problem with AREAS.
It looks likes spark engine looks *.spark files inside of Views folders only instead of Areas folder in additionally.
My question is:
Somebody has information how to add it?
...