1. Inside the tab, right click and
select “Choose Item…” as seen in the above figure.
2. Click “Browse...” button and
reach to the “SampleWebSite” folder where you have unzipped your package.
Navigate to BIN folder, select AjaxControlToolkit.dll. Click OK to close the
“Choose Item…” dialog box.
3. Now, you can see the extender
controls in the toolbox.
Note
As I told earlier, along with the extender controls the
Ajax Control toolkit has some rich server controls called Accordion, Rating,
ReorderList, TabContainer, etc. We will see more about these controls in coming
days.
Moving forward, we will use CalenderExtender control as
an example to have a basic knowledge on how to use Ajax control toolkit.
Steps
1. Drag a textbox control.
2. Drag a CalenderExtender
control.
3. Set the textbox ID in the
TargetControlID property of CalenderExtender control.
<asp:TextBox ID="TextBox1"
runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1"
runat="server" TargetControlID="TextBox1">
</cc1:CalendarExtender>
Execute the page. On clicking inside the textbox the
calendar control will displayed where we can select the date.
|