Preparing your application to use the Ajax.NET Pro library requires the following steps:
1. First, you have to set up your ASP.NET application to be Ajax.NET Pro–enabled. This is done with the reference being set to the AjaxPro.dll assembly.
2. Second, you must modify your Web.Config file to register the AjaxPro.AjaxHandlerFactory to process all the AjaxPro/*.ashx requests.
3. Now that your application is Ajax.NET Pro–enabled, you’re ready to build some Ajax functionality into your pages. On the page level, register your page class with the AjaxPro.Utility
.RegisterTypeForAjax() method.
4. Then decorate your methods with the AjaxPro.AjaxMethod() attribute.
5. Finally, the Ajax.NET Pro library will create a JavaScript proxy object for you that follows the ClassName.MethodName() naming convention. Just add a little client UI and JavaScript to activate your server response, and your application is running on Ajax fuel.
2 comments:
lol.......aekhono keu cmnt korlo na ..:P
Ki bapar ddmn tmr blog er ae obostha kan ??? Notun kisu add koro na ????
Post a Comment