Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有母版页 ---> 内容页 ---> 用户控件 ---> Gridview
如何SelectedIndexChanged使用 Jquery 捕获 Gridview 事件?
SelectedIndexChanged
没有客户端事件OnSelectedIndexChanged。但是,您可以在服务器端事件处理程序中注册一个脚本:
OnSelectedIndexChanged
protected void gridView1_SelectedIndexChanged(object sender, EventArgs e) { ScriptManager.RegisterStartupScript(this, this.GetType(), "selectedIndexChanged", "javascriptFunctionCallHere();", true) }