如何在窗体上调用另一个控件上的Page_Load [英] How do you call the Page_Load on a form another control on a form

查看:93
本文介绍了如何在窗体上调用另一个控件上的Page_Load的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从表单中的其他控件调用'Page_Load'





需要删除记录后刷新页面中包含当前详细信息的页面

How do you call the 'Page_Load' from another control in a form.


need to refresh the page with the current details from a table after records is deleted

推荐答案

页面加载是一个事件,在加载页面时会触发该事件。此外,当由于任何控制而发生任何回发时,它也会触发此事件。



因此,无需明确触发此事。您应该检查您的要求。
Page Load is an event, which is fired when Page is loaded. Also when any post back happens due to any control, it also fires this event.

So, no need to fire this explicitly. You should review your requirement.


这篇关于如何在窗体上调用另一个控件上的Page_Load的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆