ASPNET MVC what do you call this, a partial view? Or something else?
        Posted  
        
            by JK
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by JK
        
        
        
        Published on 2010-04-26T05:53:33Z
        Indexed on 
            2010/04/26
            6:33 UTC
        
        
        Read the original article
        Hit count: 214
        
asp.net-mvc
I'm trying to google for info on a situation, but I dont know what it is called, so its hard to find results :)
I have a model with say 10 fields. But only some of those are shown on a particular view, lets say 3 of them: id, name, date. What do you call this kind of view that does not display the whole model? A partial view?
The problem is that because 7 fields are not sent to the view, when the Update action is called on the controller, those fields are null, and the DB gets updated with those 7 fields set to null.
© Stack Overflow or respective owner