views:

21

answers:

0

I have a requirement in which there is a list of records on a page. When a user clicks on one of the individual items, a modal popup would display the details along with the ability to make changes and save.

The way I envision this would be developed is to have the markup on the list page but keep it hidden. When a user clicks on one of the item, use jquery to make a ajax call to retrieve details in json, deserialize and make the markup visible. On Save, I'd assume I would build a json string, make a ajax call to the server that deserializes it to a strongly typed object, validates and saves.

Does this approach sound right? With .NET 4.0, I found that they now have support for databinding on the client. Does this new feature fit into my requirement in anyway that makes it feasible to use for better flexibility, scalability and maintainence?