0

In Model-View-Presenter what is the correct pattern to do a page that:
a) contains a grid for browsing a list of items
b) an alternate mode for editing single items
maybe you are toggling between two asp:panels.

Do you just make the presenter smart enough to do two types of presentations? Make 2 presenters?

I'm new to this pattern and want to do it correctly. I understand how I would do this functionality on two pages. Just not sure what is the accepted practice when the browse and detail exist on the same page.

BuddyJoe
  • 69,735
  • 114
  • 291
  • 466

1 Answers1

1

Make an edit view a user control and have a presenter for it.

epitka
  • 17,275
  • 20
  • 88
  • 141