当下拉列表选择索引更改事件被触发时,页面是回发.我们如何停止此操作? [英] page is postback when dropdown list seleceted index changed event is fired.how we stop this?

查看:164
本文介绍了当下拉列表选择索引更改事件被触发时,页面是回发.我们如何停止此操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

页面是在下拉列表选择的索引更改事件被触发时回发的页面.我们如何停止此操作?

page is postback when dropdown list seleceted index changed event is fired.how we stop this???

推荐答案

页面是下拉列表选择的回滚页面
设置 AutoPostBack属性 [
page is postback when dropdown list seleceted
Set AutoPostBack property[^] of dropdown as ''False''

After making the change, Selected change event will fire only when control goes to server.


您可以使用 [
You can use Update panel.[^] and wrap the drop down list in update panel if you want to submit data to server but do not want to reload the page.

hope it helps :)


这篇关于当下拉列表选择索引更改事件被触发时,页面是回发.我们如何停止此操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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