I have method MyMethod in class MyClass:
using System;
using System.Collections.Generic;
using System.Web;
///
/// Summary description for MyClass
///
public class MyClass : System.Windows.Forms.UserControl
{
public MyClass()
{
}
public static string MyMethod()
{ return "some string"; }
}
And i want use this method in Html page by javascript. Tell me please, how call this method?
Suthish NairPosted Jul 29, 2011, 4:08 PM
Else... you need to use AJAX or GetCallbackEventReference or Page Methods.