从ASP open dropdown from code behind开始。我正在动态创建一个下拉列表并放入更新面板。方法
ScriptManager.RegisterStartupScript(this, this.GetType(), "", "window.onload = function(){showDropdown(document.getElementById('ddl'));}", true);
以下代码无法正常工作。当下拉菜单位于更新面板中时,是否有人知道如何强制使用按钮打开下拉列表?