页面更改时下拉问题 [英] drop down problem when page change

查看:116
本文介绍了页面更改时下拉问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友

我有一个网格视图,在这个网格视图中我有一个下拉列表,我已经动态绑定这个drobdown,当我更改网格视图页面时,我的下拉列表是空白,我也使用更新面板所以请给我解决方案下拉列表

感谢提前

Hi Friends
I have one grid view and in this grid view i have one drop down list and i have bind this drobdown in dynamic and when i change the grid view page my drop down list is blank and i have use also update panel so please give me solution to drop down list
Thanks to advance

推荐答案

很难使用更新面板和动态下拉列表。但是,您可以将隐藏字段中的下拉值保存以访问它,或者如果您想要完整列表,则必须从后面的代码生成下拉列表。



http://stackoverflow.com/questions/2281800/asp-net -dropdown-list-in-codebehind-vs-in-aspx-page [ ^ ]



http://stackoverflow.com/questions/15709532/generating-drop-down- list-items-from-code-behind-using-c-sharp [ ^ ]



http://stackoverflow.com/questions/994580/generate-dropdownlist-from-code-behind [ ^ ]
It is difficult to use both update panel and dynamic drop down list. However you can save your drop down value in hidden field to access it or if u want complete list u have to generate drop down list from code behind.

http://stackoverflow.com/questions/2281800/asp-net-dropdown-list-in-codebehind-vs-in-aspx-page[^]

http://stackoverflow.com/questions/15709532/generating-drop-down-list-items-from-code-behind-using-c-sharp[^]

http://stackoverflow.com/questions/994580/generate-dropdownlist-from-code-behind[^]


这篇关于页面更改时下拉问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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