web表单我有一个正常的下拉列表:停止的DropDownList在Asp.net从清凉的
<asp:DropDownList ID="kindofser" runat="server" AutoPostBack="True"
Height="21px" Width="166px"
onselectedindexchanged="kindofser_SelectedIndexChanged">
<asp:ListItem>שרתי משחק</asp:ListItem>
<asp:ListItem Value="1">rgrgr</asp:ListItem>
<asp:ListItem Value="2">rgreger</asp:ListItem>
</asp:DropDownList>
每次我改变我的选择,一个SelectedIndexChanged事件发生,但页面刷新。我能阻止它发生吗?
如果你把汽车后回假,当你改变你的选择它不是在做“保护无效XX_SelectedIndexChanged(对象发件人,EventArgs的){ ,所以,什么卡尼做 –
@Alon?M:该事件将被解雇时页面被回传到服务器...... –
事件不happnd ..如果我把“自动回”它没有做任何事情。只是没有..当将它happnd? –