#
Efie
Today, we have added the source-code of the Cuyahoga.Web.Extensions project into the Cuyahoga-contrib project on sourceforge.
The project has two main-goals for now.
1. Provide support for the ASP.Net Ajax controls (and the ASP.Net Ajax Control Toolkit). At this moment it is nothing more than adding a ScriptManager dynamically to the module or the template.
There are two classes which provide this functionallity: AjaxBaseModuleControl and AjaxBaseTemplate.
2. Provide support for pure JavaScript Ajax programming (JQuery, Prototype etc), I've build a handler which processes all Ajax requests and you can return all objects you want as JSon objects.
It contains an IAjaxService, after implementing the IAjaxService, the concrete implementation should be registered in Windsor and used as inputparameter of the AjaxRequestDispatcher.
I'm working on two test-cases/samples, which will be added to the project. They both create a slideshow for the gallery-module, one is built with update-panels and some cool effects from Scriptaculous. The other one is built with the slideshow component from the JQuery interface plugin and uses the handler to get gallery information with calls from JavaScript and can be used on a Html-page, because no server-side programming is required.
To use the first option, you'll need a web.config which supports the usage of ASP.Net Ajax, for the second option you'll need a web.config which registers the httphandler for the Ajax-calls.
The codebase is really small at this moment, I've got a lot of other experimental code which I have left out the project for now, some things will be added sometime others will be left out.
Samples will follow the upcoming few weeks.
The project has two main-goals for now.
1. Provide support for the ASP.Net Ajax controls (and the ASP.Net Ajax Control Toolkit). At this moment it is nothing more than adding a ScriptManager dynamically to the module or the template.
There are two classes which provide this functionallity: AjaxBaseModuleControl and AjaxBaseTemplate.
2. Provide support for pure JavaScript Ajax programming (JQuery, Prototype etc), I've build a handler which processes all Ajax requests and you can return all objects you want as JSon objects.
It contains an IAjaxService, after implementing the IAjaxService, the concrete implementation should be registered in Windsor and used as inputparameter of the AjaxRequestDispatcher.
I'm working on two test-cases/samples, which will be added to the project. They both create a slideshow for the gallery-module, one is built with update-panels and some cool effects from Scriptaculous. The other one is built with the slideshow component from the JQuery interface plugin and uses the handler to get gallery information with calls from JavaScript and can be used on a Html-page, because no server-side programming is required.
To use the first option, you'll need a web.config which supports the usage of ASP.Net Ajax, for the second option you'll need a web.config which registers the httphandler for the Ajax-calls.
The codebase is really small at this moment, I've got a lot of other experimental code which I have left out the project for now, some things will be added sometime others will be left out.
Samples will follow the upcoming few weeks.