为什么dropdownlist不使用自动回发触发

时间:2018-08-16 13:21:49

标签: c# webforms

下拉列表选择的索引未自动回发 在我的aspx上

<asp:DropDownList ID="d_cam_um" AutoPostBack="true" runat="server"    OnSelectedIndexChanged="d_cam_um_SelectedIndexChanged"  style="position:fixed; top:0px; left:0px;">
</asp:DropDownList>

在我的aspx.cs上

        protected void d_cam_um_SelectedIndexChanged(object sender, EventArgs e)
    {
        //some code here
    }

0 个答案:

没有答案