modelbinder Questions

3

Below is the snippet of my code Model class // Customer.cs using CommonLayer; namespace Models { public class Customer { public int Id { get; set; } [MyAntiXss] public string Name { get; ...
Postgraduate asked 16/9, 2015 at 4:43

3

I am new using custom ModelBinders, I have been looking around and I couldn't find any post related to this specific case. I have an entity like: public class DynamicData { public IList<Dyn...
Intern asked 7/2, 2012 at 16:6

2

Solved

I've implemented a ModelBinder but it's BindModel() method is not being called, and I get Error Code 500 with the following message: Error: Could not create a 'IModelBinder' from 'MyModelBinder'....
Wiseacre asked 28/9, 2013 at 19:29

1

Solved

new to mvc3, i have a few questions, would appreciate if someone could answer/provide links: When should I use View Models? Is it not recommended to use the domain? I find that my view models are...
Inspector asked 27/5, 2011 at 20:25

5

Solved

Take the example classes below. I want to display the customer and two addresses (from a LIST) on a form. Does the model binder in MVC beta support this or will I have to write my own custom binder...
Theosophy asked 2/1, 2009 at 17:29
1

© 2022 - 2024 — McMap. All rights reserved.