Hi the context object is the last parameter in your server side call
and can be accessed using the res.context object
I copy pasted this from someone elses post in this ajax group


function blah()
{
        var context = {};
        context.Name = 'Hallo';
        context.Street = 'Sesamestreet';
        MyPage.ClientFunction(par1, par2, blah_CB, context);
]


function blah_CB(res)
{
        if (res.error == null)
        {
                var val = res.value;
                var context = res.context;
                alert(context.Street); 
        } 



}


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

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/

The open source project is now located at 
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---

Reply via email to