hi,
I'm trying to use like this, but failed
here:
%server-side, define a class
public class GetSelectOptions
{
    public GetSelectOptions()
        {...}

    private string m_Sql = "";

    public string Sql
    {
        get { return m_Sql;  }
        set { m_Sql = value; }
    }

    [AjaxPro.AjaxMethod()]
    private DataTable GetData()
    {...}
}

%client-side.
//try to access the Sql property
alert(GetSelectOptions.Sql);
but it shows "undefined"

I want to know if I want to use a class like this what should I do?


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

Reply via email to