[EMAIL PROTECTED] schrieb:

> But when i look in the source code the following line are never
> generated.
 > [...]
> Anyone know what the problem seems to be?
> 
> Ive added my WebUserControl to the portal(supports custom modules) ive
> tested the WebUserControl outside the portal and it workes fine.
> But whan i add the module to Rainbow... it says "[MyClassName] is
> undefined" javascript error.

Don't call RegisterTypeForAjax() within OnPreRender, call it in OnLoad() 
or OnInit(), but you must call it in your Control :)


-- 
Freundliche Grüße

Albert Weinert

http://der-albert.com

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