![]() However, because the AJAX Control Toolkit is used in other field templates of this sample project, it is better to register it in the Web.config as shown in Listing 3.8. We could have used the ASP.NET directive to register this tag prefix directly in the DateTime_Edit.ascx. Notice that this example uses a custom ajax: tag prefix with the CalendarExtender without actually registering it. ![]() Extended DateTime_Edit Field Template (Markup) Before you can begin using AJAX controls, you need to add the downloaded AjaxControlToolkit.dll as a reference to your web application project in Visual Studio. The AJAX Control Toolkit comes in a ZIP archive that you need to extract to a directory on your hard drive. It is an open source project hosted on CodePlex and available for download at. The AJAX (Asynchronous JavaScript and XML) Control Toolkit is an extension of the ASP.NET framework developed by Microsoft to enhance client-side behavior of the standard WebForms controls.
0 Comments
Leave a Reply. |