The text of this article is not in this database — only its details are. Read it on the old site: Model View Presenter Pattern Implementation in ASP.NET
3 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.

Kalyan PPosted May 18, 2012, 9:12 AM
Hi, I am working on a small project with MVP implementation using Ajax, JQuery. I implemented passive view MVP pattern and all presenters are connected from view by event handling. The scenario is displaying a detail popup box from master list by clicking the link on master row. I have to make an ajax call to display the detail list. Now my question is how can I make a call via Ajax from client side to invoke an event. There are 2 scenarios in AJAX call that I know: 1. Call Page Method: In this, How can I call a page method (this is static by default) which internally invoke a event in presenter? If I call a presenter method directly in my view then It is violating the MVP pattern. 2. Call Web Service: How can I call a Web Service (Where it should be created?) how the presenter handle this service? I googled so many sites but I couldn't find a right answer to implement. Please clarify my questions and thanks for your support.
Mahesh ChandPosted Dec 8, 2010, 11:31 PM
Thank you for sharing Shubhendu.