Hi there, My solution has a number of classes which exposes methods marked as AjaxMethods.
The web part of my solution relies heavily on Ajax and as so only really has one page (default.aspx). I am required to register all of my javascript in this one file. This is ok except it creates a GET per class for the ASHX file. If I have 10 classes which require RegisterTypeForAjax running on them I'll get an additional 10 GET when the page loads ( which slows it down considerably ). Is there any way to wrap all of the classes up into one to provide one large ASHX file rather than many small ones. For example, AjaxPro.Utility.RegisterTypeForAjax ( typeof ( xxx ), typeof ( xxxx ), typeof (xxx ) ); Does anyone have an idea for another solution? Thanks, gary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/ Don't forget to read my blog at http://weblogs.asp.net/mschwarz/ The open source project is now located at http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro -~----------~----~----~----~------~----~------~--~---
