i

ASP.Net A Complete Guide

Ajax Control Toolkit

This Toolkit contains the set of controls and the control extenders.

We can drag the control from the toolbox onto the page. We can add the control to the page in either Design view or Source view. When we want to use the controls from the AJAX Control Toolkit, then the page should have a ScriptManager control always.

Editor control:

This control displays a rich HTML editor as shown in below image:

Follow below steps for Editor Control:

Select the ScriptManager control from the toolbox and drag the control onto the page.

Select the Editor control from the toolbox and drag the control onto the page. The Designer should look like the below image.

The designer with ScriptManager and Edit control will look like the below image.

Run the application to see the output.

AJAX Control Toolkit Control Extenders:

As its name suggests, this extends the functionality of an existing control.

Follow below steps for Extender button:

Add a standard Button control.

Click the Add Extender task option.

 

In the Choose Extender dialog, select ConfirmButtonExtender.

 

Open the property window it will display the window like below:

Run the application to see the output.