viewmodel
ASP.NET MVC ViewModel with methods - is it "legal"?
Should viewmodels be limited to only have properties, and not methods? Let\'s say I have a radio button in my view, and wants to see if the radio button should be checked.[详细]
2023-03-20 21:51 分类:问答Using Sencha's ExtJS MVC with ASP.NET MVC
I wanted to ask if anyone has tried using combination of Sencha\'s ExtJS 4 (using MVC approach) with ASP.NET MVC (using view models)?[详细]
2023-03-20 19:02 分类:问答ASP MVC/EF 4 Design - to use a viewmodel or not?
I have a list of somewh开发者_开发技巧at complex entity graphs representing video game reviews.I\'m going to create separate navigation based on the graphs\' properties - game title, platform name(s),[详细]
2023-03-20 02:02 分类:问答what does string GenerateStronglyTypedClass(ExpandoObject object) look like?
Often when I\'m creating MVC views, I first bind my view to an ExpandoObject so I can quickly figure out the shape of my viewmodel, without having to spend time adding/modifying/removing real properti[详细]
2023-03-20 00:48 分类:问答Validation not working using Data annotation in mvc
I Have created view model with the validation in it, but the validation doesnt works when i submit the form, below is the code :[详细]
2023-03-19 19:17 分类:问答mvc accessing a different model from the strongly typed provided
so I\'m writing to see what the best way is to de开发者_Python百科al with this ish that I have. I have 3 models and a view that has a strongly typed using one of the models.[详细]
2023-03-19 02:10 分类:问答MVC3 Buddy Classes, ViewModels and Validation
I\'m currently working on my first MVC project which is nothing more than a glorified blog for my own learning purposes.I started out with a database-first approach as I had no idea code-first even ex[详细]
2023-03-18 09:28 分类:问答MEF Importing ViewModel that needs data, to View for Silverlight
I\'m not sure the best way to get this accomplished. Here\'s my view: public partial class MyPage : Page[详细]
2023-03-18 04:35 分类:问答MVVM: Decouple Model from ViewModel
I\'ve just started learning WPF MVVM using Pri开发者_高级运维sm and Unity. Decoupling the view from the viewmodel works pretty well, but I don\'t get how wire up my viewmodel and my model.[详细]
2023-03-18 04:07 分类:问答How to use anonymous list as model in an ASP.NET MVC partial view?
I have a list of Contact objects, from which, I just want a subset of attributes. So I used LINQ projection to create an anonymous list and I passed that to a partial view. But when I use that list in[详细]
2023-03-17 08:43 分类:问答