asp.net mvc - Bad idea to manually edit a scaffolded view? -


i scaffolded new mvc controller, along corresponding view , repository ienumerable collection of poco class. in resulting view table list every entry in collection of class. however, table contains column every property in class, , want display subset of them in view. is bad idea if manually edit view remove don't want display in generated html?

i'm not clear on whether scaffolding features part of asp.net mvc (version 3 , later) designed generate basic functionality web application, giving freedom want results afterwards, or if it's considered best practice leave generated results alone , find way want accomplish. know can customize own scaffolding templates, seems lot of work such simple change.

thanks!

it's ok edit scaffolded view. feature that's there build basics, never suffice.

so can edit want. keep in mind though if edit model, have manipulate view manually, that's normal think.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -