I've looked extensively at the examples and also successfully used your
tool. This error is a mystery. Here is the appropriate source.
In Page_Load of
MemberChain.Controls.MemberControls.MeetingEditor.ascx.cs (inherits
from MemberChainUserControl):
AjaxPro.Utility.RegisterTypeForAjax(typeof(Recurrence), this.Page);
In MemberChain.Controls.MemberControls.Recurrence.ascx.cs (inherits
from MemberChainUserControl):
[AjaxPro.AjaxMethod()]
public string GetTextualRecurrence()
{
return "Work now";
}
In MemberChain.Controls.MemberControls.MeetingEditor.ascx
function ShowRecurrenceModal()
{
var res =
MemberChain.Controls.MemberControls.Recurrence.GetTextualRecurrence();
alert(res.value);
if (res.error != null)
{
alert(res.error.Message);
}
return;
}
I've stepped through the script, and it's properly making the request
it seems, but the breakpoint in the codebehind for the
GetTextualRecurrence() method never gets hit. I assume the exception
is coming from someplace earlier, but I don't know where to put a
breakpoint to debug.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---