I am trying to figure out how I can pass the eventargs coming from the client side OnClientAppointmentMoveEnd event into a page method. I'm current getting an out of stack space error in my app and never hitting the page method. The enable page methods option on the script manager is set to true.
Javascript
function onClientApptMoveEnd(sender,eventArgs)
{
PageMethods.SaveTask(eventArgs);
}
CSharp in code behind
[WebMethod]
public static void SaveTask(EventArgs e)
{
int x = 0;
}