ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / C1DialogExtender / Using the Modal Dialog Window Options / Using the Modal Dialog Option
In This Topic
    Using the Modal Dialog Option
    In This Topic

    In this section you will learn how to set the C1DialogExtender control as a Modal Dialog Window.

    1. Create an ASP.NET Web application.
    2. Add a standard Panel control to the main content of your page.
    3. Insert the following markup within the Panel markup to create the dialog window:

    <div>

            <div>

                <p>

                    Modal Dialog Windows make the rest of the screen dim until you close the Modal window.</p>

            </div>

      </div>

    1. Click the Panel smart tag and select Add Extender from the Tasks menu.
    2. In the Extender Wizard, select C1DialogExtender and click OK. A C1DialogExtender control is added to the page and the TargetControlID is set to Panel1.
    3. Select View | Properties Window in the Visual Studio menu.
    4. Click the drop-down list at the top of the Properties window and select Panel1_C1DialogExtender.
    5. Set the C1DialogExtender.Modal property to True.
    6. Press F5 to run the application to view the Modal Dialog Window. It should look like the following image: