Dropdown SelectedIndexChanged应该打开Ajax ModalPopupExtender [英] Dropdown SelectedIndexChanged should open Ajax ModalPopupExtender

查看:82
本文介绍了Dropdown SelectedIndexChanged应该打开Ajax ModalPopupExtender的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用多个asp面板(大约6个).我想根据在下拉列表中选择的值(与sqlserver(2005)的表绑定)打开面板.
我使用的是vs2010.请帮助我.

请给我代码

I am using multiple asp Panels (around 6). I want to open panels according to value selected in dropdown (which is bound with table of sqlserver(2005))
I using vs 2010. Plz help me.

plz give me code

推荐答案

我找不到问题所在.

将面板和下拉菜单放在更新面板中.下拉选择更改事件将触发更新面板.在后面的代码中,根据在下拉菜单中选择的值显示相应的面板.

更新面板将随着更改而刷新.

请通过这个问题告诉您是否还有其他疑问.
I couldn''t find where the problem could be.

Place the panels and the dropdown inside the update panel. Dropdown selection change event would fire the update panel. In code behind based on the value selected in the dropdown show the respective panel.

Update panel will get refreshed with the change.

Do tell if there is something else you want to ask through this question.


这篇关于Dropdown SelectedIndexChanged应该打开Ajax ModalPopupExtender的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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