Use RegisterTypeForAjax(typeof(Classname), this) where this is the
Page. Maybe it is different when writing WebParts, something like a
property this.ParentPage or this.Page.



On 5/18/06, Roman <[EMAIL PROTECTED]> wrote:
>
> Are there any examples on how to use ajax.net from webpart?
>
> I noticed that RegisterTypeForAjax() doesn't inject script info and
> hence I cannot access ajax methods.
>
> I saw several similar posts but no replies.
>
> Any pointers are welcome.
>
> Thank you
> Roman
>
>
> >
>


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

Reply via email to