updatepanel外部控制更新 [英] updatepanel update outside control

查看:67
本文介绍了updatepanel外部控制更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在更新面板中有两个下拉列表框,在更新面板外有一个数据网格.当我们从第二个下拉列表框中选择值时,我想在网格中显示结果.

I have two drop down list box in the update panel and a datagrid outside the update panel. i want to display the result in the grid when we select the value from second drop down list box. how can i implement this.

推荐答案

< asp:dropdownlist id ="ddl" runat ="server" onselectionchanged ="xx_xxx" text ="PostBackTrigger" xmlns: asp =#unknown">

< triggers>< asp:postbacktrigger controlid ="gridView" xmlns:asp =#unknown">
使用这样的触发器来更新外部控制.
<asp:dropdownlist id="ddl" runat="server" onselectionchanged="xx_xxx" text="PostBackTrigger" xmlns:asp="#unknown">

<triggers><asp:postbacktrigger controlid="gridView" xmlns:asp="#unknown">
Use triggers like this to update external control.


这篇关于updatepanel外部控制更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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