如何更新更新面板 [英] How to update a update panel
本文介绍了如何更新更新面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果更新面板中有RegisterPostBackControl,则可以更新它。我在其中使用了一个datalist。
在页面加载中我使用了这个
ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(this.DataList1);
但现在的问题是更新面板没有通过以下代码更新
UpdatePanel1.Update();
工作正常,直到放置位置作为RegisterPostBackControl的datalist。
can an update panel be updated if it has a RegisterPostBackControl in it. I am using a datalist inside it.
In page load i have used this
ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(this.DataList1);
but the problem now is that the updatepanel does not gets updated by the following code
UpdatePanel1.Update();
It was working fine until place placed the datalist as a RegisterPostBackControl.
推荐答案
引用此内容
这篇关于如何更新更新面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文