Vishan S Gill

Vishan S Gill

  • NA
  • 15
  • 13.7k

ASP.NET MVC 3 Custom Controls based on user selection

Jul 5 2011 8:06 PM
Hi Everyone,

First off, what I'm about to ask could be implemented easily and sound silly, but I'm new to MVC Pattern. I've never used it before and am starting out with MVC 3 right on the go.

I'm building a small Content Management Site. There are Admins and Normal Users. Users are suppose to read text and enter data through a series of steps. For example the admin create 3 steps that user will need to go through, in this case admin could set step one be just reading part, ie, user just read the introduction and click next. However, in the second or third part, admin might want some input from users, in different type of controls.

Please note these controls are limited to a set, for example only dropdown and textarea in this case.

The issue here with me is I don't have a clue on how I can allow the following:

1. Admin to add different controls to steps
2. Admin to be able to define which controls goes in which order (For example, dropdown 1 -> dropdown 2 -> textarea 1 -> dropdown 3)

Can anyone guide me on this and help push me in the right direction?

Thanks and Regards,
Vish

Answers (3)