Wednesday, June 24, 2009

ASP.NET AJAX Control Toolkit ModalPopupExtender Control in Action

Development Platform

  • Visual Studio 2008 SP1
  • Microsoft .NET Framework 3.5 SP1
  • ASP.NET Ajax 3.5 SP1
  • ASP.NET Ajax control toolkit for 3.5 SP1
  • IIS 5.1~7
Figure: Expense listing demo application.

Introduction

ASP.NET Ajax control kit is a nice contribution from the ASP.NET community, which is equipped with a lot of good and handy control extenders. In this article, we are going to explore modal popup dialog extender control of Ajax control toolkit. We are going to see various scenarios in which modal popup controls can become a handy tool to use in ASP.NET rich clients and also in general purpose web applications. We will also cover few tricks and trouble shooting about modal popup extender control. First of all, we are going to cover what modal popup extender is and how we can use it.

Display a Modal Popup

Let's begin our journey by starting a hello world modal popup. In this section, we are going to see how we can use modal popup extender control to display modal popup. The best way to learn any new technology is by example. So let us put down a small example code and then we are going to see what the code means and how it works.


See full detail: http://www.codeproject.com/KB/ajax/ASPModalInAction.aspx

No comments: