Spread for ASP.NET 10 Product Documentation > Developer's Guide > Customizing with Cell Types > Working with ASP.NET AJAX Extender Cell Types |
There are several cell types that are made available by using ASP.NET AJAX. The following tasks show how to create them:
These cell types are dependent on the extenders of the Microsoft ASP.NET AJAX Control Toolkit. The appearance and behavior of these cell types are controlled by the AJAX Control Toolkit. For more information, see the Microsoft AJAX site or https://ajaxcontroltoolkit.codeplex.com/.
All controls in the AJAX Control Toolkit can add or attach client behaviors to a target control. The target control is exposed as the Editor property of the extender cell type in Spread.
Multiple behaviors can be attached to the same target control, which is also supported in the AJAX extender implementation of Spread. For example, we can add a MaskedEditExtender to DateCalendarCellType. As a result, this cell type combines two extenders.
Unlike the other cell types in Spread, there are no restrictions and validation of any of the extenders properties, so use this cell type carefully and provide validation as needed.
Be aware of these limitations to these AJAX cell types.
Follow these guidelines for using AJAX extenders in a development environment.
To set a binding redirect, code similar to the following would need to be added to the Web config file (the version number should match the actual version number of the assembly).
Code |
Copy Code
|
---|---|
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.0.20229.20843"/> </dependentAssembly> </assemblyBinding> </runtime> |
For more information on AJAX support, refer to Working with AJAX.
For information on the various cell type classes, refer to the cell type classes in the Assembly Reference.