下拉列表控件 [英] Dropdown list Control

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

问题描述

我的工具箱(tb)不显示下拉列表控件.我试图通过选中``选择工具箱项''对话框中的下拉列表控件来将其包括在``工具''菜单中.下拉列表控件仍未显示在tb中.
这是什么原因呢?我需要这方面的帮助.我尝试重置tb,但没有成功.我使用的是Visual Studio2008.我已经扩展了tb中的所有类别,以查看它是否偶然出现在任何类别中.

My toolbox(tb) does not show dropdown list control. I tried to include it in tb thru'' ''Tools''menu by Checking to select dropdown list control from ''Choose toolbox item'' dialog box. The dropdown list control still does not show in the tb.
What is the reason for this? I need help with this. I tried resetting the tb but no success. I am using Visual Studio 2008. I have expanded all the categories in tb to see if by chance it has appeared in any category.

推荐答案

不是使用设计"模式,为什么不在后面的代码中尝试使用以下代码:

Instead of using Design mode, why don''t you try it in the code behind as:

<asp:DropDownList id="ColorList"

                    AutoPostBack="True"

                    OnSelectedIndexChanged="Selection_Change"

                    runat="server"/>


这篇关于下拉列表控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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