However I must be missing some fundamental knowlege to make that work. They have some C# class 'AjaxService' and then they are calling it with javascript. But how is that class shoe horned into Umbraco so that i can be called?
Did they compile that in visual studio and export that DLL somehow? If so, how did they get keywords 'umbraco' to work(umbraco.BusinessLogic.User)? Is there a library that must be imported to visual studio?
Umbraco can access web services via AJAX just like any other ASP.NET WebForms application. Alternatively you can use the Umbraco /Base feature which is documented on the wiki - http://our.umbraco.org/wiki/reference/umbraco-base
AjaxPro is just another framework for ASP.NET. I've used it in the past but didn't like it. And since it's built into ASP.NET now I don't see the point.
Ajax and Umbraco
I've done some googling and have found a couple of things, but they are very vegue.
The best page i've found is: http://www.cpalm.dk/blog/2006/08/03/ajax-and-umbraco.aspx ; <-- I would like to do something very similar to this.
However I must be missing some fundamental knowlege to make that work. They have some C# class 'AjaxService' and then they are calling it with javascript. But how is that class shoe horned into Umbraco so that i can be called?
Did they compile that in visual studio and export that DLL somehow? If so, how did they get keywords 'umbraco' to work(umbraco.BusinessLogic.User)? Is there a library that must be imported to visual studio?
Umbraco can access web services via AJAX just like any other ASP.NET WebForms application. Alternatively you can use the Umbraco /Base feature which is documented on the wiki - http://our.umbraco.org/wiki/reference/umbraco-base
If you're new to ASP.NET AJAX I suggest you start with some of the videos at http://asp.net such as: http://www.asp.net/learn/ajax-videos/video-75.aspx
I guess your right. I was looking at that example incorrectly. /ajaxpro/ must be a totally separate project and is not part of umbraco.
I thought it was part of umbraco for some reason, something like how you integrate usercontrols into umbraco.
Thanks
AjaxPro is just another framework for ASP.NET. I've used it in the past but didn't like it. And since it's built into ASP.NET now I don't see the point.
is working on a reply...