下拉列表所选项目在回发时发生更改

编程入门 行业动态 更新时间:2024-10-26 10:40:38
本文介绍了下拉列表所选项目在回发时发生更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在项目中使用了一些下拉列表,其中第一项是选择".如果在单击按钮时应用程序在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..

更多推荐

下拉列表所选项目在回发时发生更改

本文发布于:2023-10-12 23:13:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1486153.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:所选   发生   项目   列表   回发时

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!