AJAX ModalPopup Control provides the functionality to display a popup window within the same window that blurs and disables the background page content and sets the focus on modal popup. You can place the ASP.Net server control inside the Panel control that can attached to the AJAX ModalPopup extender control. You can adjust the position of ModalPopup relatice the X and Y axis of the browser window. AJAX ModalPopup control has properties that enable you to associate the OK button and Cancel button with it so that Modal Popup should perform the action based the button clicked by the user. ModalPopup control also supports Drag functionality that allows you to move the Popup at some other location on the web page.
Properties of AJAX ModalPopup Control
You can learn the use of above properties and get the C# code from the tutorial of AJAX ModalPopup control by following the link provided at the bottom of this sample.
Try the sample below to understand the functionality of AJAX ModalPopup control: