In a rich web application built on ASP.NET, which is preferred for editing data items in the system: a pop-up dialog or edit on the same page?
The use case is a person views an item's details and (if granted permission) clicks a button to modify the item's values. Should the button open a modal dialog or replace the page with editable controls? Currently, I'm using asp:FormView
(the web application is built on ASP.NET) with command buttons to change the mode, thus replacing the page with different templates for viewing read-only details or editable controls.
When multiple items are viewed using a GridView, editing an individual item opens a model dialog so the context of the GridView page is retained. The question is should the detail page open a modal dialog to edit?
asp:FormView
naturally edits in the same page, but also need to consider using a pop-up dialog instead.