在aspx页面的下拉列表中添加onclick属性

时间:2019-04-13 21:29:03

标签: asp.net aspxgridview

<asp:DropDownList ID="dateTimeFilter" CssClass="dateTimeFilterIdentifierCls" runat="server" Onclick="dateTimeFilter_SelectedIndexChanged"
onchange="bindControlEvents()" AutoPostBack="true" Visible="false">
                                    </asp:DropDownList>

单击下拉菜单时如何调用“ dateTimeFilter_SelectedIndexChanged”?在打开它之前。Onclick="dateTimeFilter_SelectedIndexChanged这种方式不起作用 谢谢!

0 个答案:

没有答案