Implementing a page using MVP

Does anyone have any recommendations on how to implement a page in ASP.NET web forms when applying the MVP template? I wonder where to put the swap logic ... in the view or in the presenter? In addition, the neet method for implementing pages in ASP.NET is to use the PagedDataSource control ... it would be right to use this from the presenter or we better implement some kind of custom page maintenance logic. Data is displayed in the view using the Repeater knob.

Hurrah!

+3
source share
2 answers

, mvp mvc, , . (?). jquery . , //.

+2

, , . :

  • , . . MVP View , . MVC .
  • The View , (Next, Prev, ..).

PagedDataSource. WebForms, , , , MVP. , PagedDataSource ( ) . , , , .

MVP WebForms. , .

+2

Source: https://habr.com/ru/post/1715601/


All Articles