Question

I'll start a new project, that will include forms whose inputs and their types (textbox, checkbox etc), Validation rules are defined in DB.

I have to choose one of the frameworks for Form Creation, Form Validation, Edit/Insert Forms but I'm stuck. I doubt MVC will make handling Parent-Child relationship for Controls difficult. And although WebForms will help me behave all dynamic inputs as objects, I'm worried i will have to deal with Reflection for simple things.

Any clues for this hesitant person?

Was it helpful?

Solution

You are correct with the Parent-Child Relationship problem for MVC. From what I can tell, it would be pain in the butt. I do not think you will need reflection for WebForms, as long as you can somehow get the controls into an array.

My vote: WebForms.

OTHER TIPS

I have used regular asp.net (web forms) for completely dynamic interfaces, no need for reflection for any of it. That said, I really don't think you will find any of them blocking your way to achieve it. You also might want to look at http://www.asp.net/dynamicdata/

Ps. for completely dynamic, I mean interfaces through an admin UI say which table(s), which columns, add validation metadata, labels :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top