Wednesday, March 28, 2012

PageMethod Context parameter

var context = new Array()

I am trying to invoke PageMethod.DoSomething(parameter1, parameter2, OnSucceeded, null,null,null,context)

so context is an array

But in the OnSucceeded(result,response,context) the context parameter contains the name of the page and the method called. It is not returning back the context that I called it with.

Any help will be greatly appreciated.

Thanks

Try to?take?a?look?at?this?blog?about?how?to?use?PageMethod?in?Ajax?RC?1.0?-?http://blogs.gotdotnet.com/robj/archive/2007/01/05/pagemethods-in-asp-net-ajax-1-0-rc.aspx
Wish this can help you.

No comments:

Post a Comment