且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从另一个页面触发用户控件的按钮单击事件.

更新时间:2023-12-06 11:46:04

您可以在用户控件内编写带有所需代码的公共函数,然后从页面中调用它,也可以使用JavaScript触发按钮点击事件.如果您想使用示例,请使用改进问题链接并粘贴相关代码.
You can either write a public function with the desired code inside the usercontrol and call it from the page or you can use javascript to fire the button click event. If you want an example use improve question link and paste relevant code.