Embedding a WebMethod in a WebPart RRS feed

  • Question

  • If i try add a webmethod to a webpart, I should be able to call it right?



    public static string GetTest()



    return "This is a Test";


    On a noramll aspx page we would call MyPage.aspx/GetTest(), how would we call this webmethod residing inside a webpart, I'm stumped?

    Thursday, October 1, 2009 3:57 AM


All replies