Gridview,有一个事件,我如何确定它已完成渲染? [英] Gridview, is there an event, how would I determine that it has finished being rendered?

查看:53
本文介绍了Gridview,有一个事件,我如何确定它已完成渲染?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gridview,有一个事件,我如何确定它已完成渲染?基本上就是这样,我想调整页面上其他控件的高度,我想接起这个事件.

Gridview, is there an event, how would I determine that it has finished being rendered? That's basically it, I want to adjust the height of some other controls on the page and I want to pick up this event.

对不起,我应该更明确地说这实际上是网页而不是winform.最后,我设法通过向页面加载注册一个函数来解决该问题,在绘制控件后调用该函数,然后调用它们的gridview大小并调整其他控件的大小以适合.就是这样.

Sorry I should have been more explicit in stating that this is actually a web page not a winform. In the end I managed to solve the problem by registering a function with the page load which is called after the controls have been drawn and they calling the gridview size and resizing the other controls to fit. It works and that is that.

谢谢.

推荐答案

已成功解决,请参见上面的详细信息.

Managed to solve it, see details above.

这篇关于Gridview,有一个事件,我如何确定它已完成渲染?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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