c# - Asp.Net MVC Property Grid Replacement -
I'm currently migrating an old form application for MVC in the application of forms, there is a property grid, which automatically Connected to an object from. There are specific [category] attributes for each category in the object. The object is also very complex.
Is it better to create a scene from scratch or is it better to use the reflection to generate the UI personally, I prepare it to use HTML, but the object is too large If this is completely HTML It's better to create a whole UI using TextboxFor (), so this is the way I will.
Besides, I can also make a vidododal for this, but it's probably
Thank you!
It depends! Do you have many similar things that can benefit from reflection? Is this code being reused several times in different views? If so, then reflection.
Otherwise the reflection below the path will take more time for you to work. And you already need HTML, just use it! keep it simple.
Comments
Post a Comment