从GridView的下拉列表中触发Ajax updatepanel [英] triggering ajax updatepanel from dropdown list in gridview

查看:62
本文介绍了从GridView的下拉列表中触发Ajax updatepanel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

控件下拉列表位于gridview中,我尝试在此下拉列表上使用异步触发器textchanged事件
但是如何在gridview中查找cotrol以在触发器中指定

the control drop down list is located in gridview i try to use the Asynchronous trigger on this dropdown list textchanged event
but how to find cotrol in gridview to specify in trigger

推荐答案

将更新模式用于更新面板作为条件,

use update mode for update panel as conditional,

<asp:updatepanel ID="Updatepanel1" runat="server" UpdateMode="Conditional">



在您的下拉列表的selectedchanged事件上,添加以下语句,



On your dropdown''s selectionchanged event add the below statement,

Updatepanel1.Update()


解决方法

UpdatePanel GridView DropDownList AutoPostBack问题 [
Here an work around

UpdatePanel GridView DropDownList AutoPostBack Problem[^](WishStar99''s reply)


这篇关于从GridView的下拉列表中触发Ajax updatepanel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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