我有五个s 与AJAX 控件DropDownList
链接在一起。CascadingDropDown
当它在本地运行时,它们工作正常。但是,当通过 Internet 在生产服务器上运行时,每次选择新项目时都会出现此错误:
'options' is null or not an object
调试它显示了导致它的函数(它是来自CascadingDropDown
控件的 JS):
_clearItems : function() {
/// <summary>
/// Clear the items from the drop down
/// </summary>
/// <returns />
var e = this.get_element();
while (0 < e.options.length) {
e.remove(0);
}
},
有没有人对它为什么这样做有任何想法?我怀疑这是因为通过互联网加载项目需要更长的时间,并且不知何故这会影响控制?
我正在运行.NET 3.5。
提前致谢。