<asp:ListBox ID="ListBox1" runat="server"
AutoPostBack="true" OnSelectedIndexChanged ="button_click"
>
<asp:ListItem Selected="true">Item 1</asp:ListItem>
<asp:ListItem >Item 2</asp:ListItem>
</asp:ListBox>
I have this code in .aspx file But I need to fire onclick Event ,not when I only change an item from Item 1 to Item 2. so what should i do? There is no onclick event.