First of all it is a UI design question!
Which is the best design practice for edit data in RIA, for example in Flex or Silverlight?
I would like to show customer's details, but there will be an edit window, than the datas of customer will be editable.
I would like to show a new form where the data can be edited. What is the simplest way to show this form. I can make my ui tabbed, so I can open the form in a new tab, or I can open the form in a popup/modal dialog (Save-cancel). Maybe I can use in line editing.
What is the most user friendly solution in a Silverlight or Flex GUI? What is your opinion?
Thanks!
After creating several Flex based apps, I personally prefer to do all record editing in a modal popup regardless of the record size for a few reasons:
It keeps the user experience consistent. When a user sees a datagrid with records they have the ability to edit, they know it's going to come up in a modal pop up.
It gives you more control over the input form. You can add validators, formatters, other popups, etc. This is also possible with inline editing, but it can be more complicated and cumbersome.
If you're using Mate or Cairngorm or some other MVC framework, it allows you to dispatch your custom events and handle the edited record however you need to with greater ease and flexibility.