DropDownList错误中无法选择多个项目 [英] Cannot have multiple items selected in a DropDownList Error

查看:81
本文介绍了DropDownList错误中无法选择多个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cannot have multiple items selected in a DropDownList.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Cannot have multiple items selected in a DropDownList.

Source Error:


Line 13:     function OnSelectedIndexChangecity() {
Line 14:        
Line 15:         var parm1 = document.getElementById("<%=ddlci.ClientID%>");
Line 16:             var strCity = parm1.options[parm1.selectedIndex].text;
Line 17:             if (strCity == "Other") {









Hoew重新启动此错误.plz给我建议..





Hoew to resovle this Error .plz give me suggestion..

推荐答案

错误非常具体:你不能有多个选择下拉列表。



找到更符合您需求的另一个控件!

(我不能建议一个,因为我有不知道你的网站是什么样的,或者你想做什么,或者让用户做什么)
The error is pretty specific: You can''t have multiple selections in a drop down list.

Find another control which fits your needs better!
(I can''t suggest one, since I have no idea what your site looks like, or what you are trying to do, or let the user do)


这篇关于DropDownList错误中无法选择多个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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