Yeesh...

   [WebUI.ToolboxData("<{0}:MetricViewer
runat=server></{0}:MetricViewer>"),
   XmlRoot(Namespace = "MetricViewer")]
   [AjaxPro.AjaxNamespace("MetricViewer")]
   public class MetricViewer : WebPartPages.WebPart {
   ...
      [AjaxPro.AjaxMethod]
      [AjaxPro.AjaxNamespace("GetMetricInfo")]
      public string GetMetricInfo(int nMetricID) {
      ...

Trying to execute this on the client-side:

   MetricViewer.GetMetricInfo(sValue, AJAXCallback);

consistently yields:

   Error:  "MetricViewer" is undefined.

I dunno...


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