我如何避免在c#.net中的下拉回发? [英] how can i avoid dropdown postback in c#.net?

查看:72
本文介绍了我如何避免在c#.net中的下拉回发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

表示在选定索引更改期间避免页面抖动

means to avoid page shake during selected index change

推荐答案

在您的设计器中,单击下拉列表并查看属性-有一个名为''自动回传''.如果您不希望回发行为,请将其设置为false.
In your designer, click on the drop down and look at the properties - There is one named ''AutoPostback''. Set this to false if you don''t want postback behaviour.


将该控件保留在更新面板中.........
Keep that control in update panel..................


将AutoPostBack属性设置为false
set the AutoPostBack property as false


这篇关于我如何避免在c#.net中的下拉回发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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