Ideas in implenting the following entry form in ASP.NET MVC 2

Posted by KiD0M4N on Stack Overflow See other posts from Stack Overflow or by KiD0M4N
Published on 2010-04-30T09:17:00Z Indexed on 2010/04/30 10:47 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

Hi guys,

I have a very simple data entry form to implement. It looks like this:

alt text

Obviously I have mocked out the actual requirements but the essence is similar.

  • Entering a name and clicking history should bring up a pop up pointing to the url '/student/viewhistory/{name}'
  • Name and age are required fields
  • The sub form (in the mockup) with Class (a drop down, containing the numbers 1 -> 10) and Subject (containing A -> D, say) form a unique pair of values for which a score is required. So, selecting the Class and Subject, entering a score and clicking on Add should 'add' this record for the student. Then the user should be able to click Save (to persist the entry to the database) or be able to add further (class, subject, score) pairs to the entry.

Any ideas how to smartly implement this? (I am coming from a DWH field... so thinking in a stateless manner is slightly foreign to me.) Any help is appreciated.

I would imagine a smart use of jQuery would give a easy solution.

Regards, Karan

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-mvc