js 触发LinkButton点击事件,执行后台方法

页面 

<asp:LinkButton ID="lbtButton" runat="server"  CssClass="lbtButton" Font-Underline="false" OnClick="lbtButton_Click">

js

function clickButton(filePath, fileName)
{
__doPostBack('lbtButton', '');
}

当执行该js方法,就会触发LinkButton的点击事件,去后台执行lbtButton_Click() 函数

原文地址:https://www.cnblogs.com/suxiaBlogs/p/7208377.html