You can use it in the user control, bbut you have to add the page instance as second parameter. Moving to the page load is one way, of course.
Regards, Michael On 6/23/06, Zote <[EMAIL PROTECTED]> wrote: > > I have found de error!! > > I'm using UserControl and on UserContro.Page_Load i have > AjaxPro.Utility.RegisterTypeForAjax(typeof(TPesquisa)); > to correct, i moved this line to Page.Page_Load > > Thanks > > > > > -- Best regards | Schöne Grüße Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
