Hi,

what is Deneme_Ajax01?? Is it already type?


public class MyClass
{
    [AjaxMethod]
    public static bool MyMethod(...)
}

In the example above you have to use RegisterTypeForAjax(typeof(MyClass));

Regards,
Michael





On 5/19/06, Umit Karacivi <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi everybody,
>
>
>
> I'm new on ajax.when i try
>
>
>
> AjaxPro.Utility.RegisterTypeForAjax(typeof(Deneme_Ajax01))
>
>
>
> i'm getting an error "Deneme_Ajax01 is a type and cannot be used as an
> expression" I follow Michael Schwarz's quickguide. What's wrong??
>
>
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to