a simple but inelegant solution:add a hidden button <asp:Button id="yourbtn" runat="server" style="display:none" onclick="YourMethod" /> in your page, bind the method to this button:void YourMethod(Object o, EventArgs e)
{
//call other methods here
}in javascript, call
document.all("yourbtn").click();
{
//call other methods here
}in javascript, call
document.all("yourbtn").click();
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/using.asp
顺便再问:如何获得一个控件(如按扭)在IE的绝对位置X和Y,
在前台用javascript如何获得?服务器上如何获得?