Hello Michael
 
I have noticed one interesting behaviour in Ajax.Net Pro.
I did 2 user controls, in each uc I registered in page.load:

AjaxPro.Utility .RegisterTypeForAjax(this.GetType());

The 2 user controls I enter the same namespace:
[AjaxPro.AjaxNamespace ("MyNamespace")]
 
Ok, now I place the 2 user controls in the same page, and runs the application. In html source, I see all the prototype, core and converter rendering fine, and another 2 ashx, one for each user control. If I type these 2 in url, I can see the ajax-generated code correctly generated for each user control.
 
But when I run the page, one the last user control ajax methods are preserved, but  not the first. The default behaviour of _javascript_ is if you create one object with the same name of one existing object, the existing object is hidden... then because this the first usercontrol ajax methods are hidden...
 
If I change the namespaces to different names, all works fine.
 
I'm reporting this because I know not if this is a desired behaviour, or "by design" behaviour (like microsoft likes to say), or if this is a bug of Ajax.Net Pro.
 
Best Regards
Fabio

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to