来自更新面板的代码后面的asp.net javascript

时间:2015-05-10 08:58:06

标签: javascript c# asp.net

ASP open dropdown from code behind开始。我正在动态创建一个下拉列表并放入更新面板。方法

ScriptManager.RegisterStartupScript(this, this.GetType(), "", "window.onload = function(){showDropdown(document.getElementById('ddl'));}", true);

以下代码无法正常工作。当下拉菜单位于更新面板中时,是否有人知道如何强制使用按钮打开下拉列表?

0 个答案:

没有答案
相关问题