本文介绍了下拉列表所选项目在回发时发生更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在项目中使用了一些下拉列表,其中第一项是选择".如果在单击按钮时应用程序在Windows XP系统上运行,则下拉列表中所选项目将自动更改为第一个值,而我没有得到所需的输出.我该怎么办?有人请帮我... 谢谢.
I''m using some dropdown lists in my project in which the first item is ''select''. If the application is running on Windows XP system when a button is clicked the dropdownlist selected item is automatically changes to the first value and I''m not getting the desired output. What can I do for it? Anyone pls help me... Thank you.
推荐答案您需要检查ViewState属性: ViewState和Postback [ ^ ] You need to examine the ViewState property: ViewState and Postback[^]
您好, 这是asp Web应用程序的属性,刷新页面后,所有变量或控件都将重新分配. 使用更新面板来避免此错误.. 一切顺利. Hi there, This is the property of asp web application that after refreshing the page all the variables or controls is reassigned.. Use Update Panel to Avoid this error.. all the best..
更多推荐
下拉列表所选项目在回发时发生更改
发布评论