加载所有页面控件并数据库时是否会触发事件?
我使用的是Web控件的DeVexpress套件,并构建了一个带有文本框,Comboboxes等相当大的输入表格的页面。
我正在编写代码以随机生成数据以填充此大型形式。我在page_load事件上使用一条行调用此代码,但我意识到,在呼叫时,任何包含数据源的内容(例如,ComboBox)尚未数据库。
当页面的所有控件和数据源都绑定时,我是否可以将现有的事件引入该事件?
I am using the DevExpress suite of web controls and have built a page with a fairly large entry form with textboxes, comboboxes, etc.
I am writing code to randomly generate data to populate this large form with. I call this code with a line on the Page_Load event but I realize that at the time of the call, anything that has a datasource attached to it (combobox, for example), is not databound yet.
Is there an existing event I can hook into that is called when the all of the page's controls AND datasources are bound?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PRERENDerComplete 加载所有控件并数据库后,将发射页面生命周期事件。
The PreRenderComplete page lifecycle event is fired after all controls are loaded and databound.