<form id="form1" runat="server">
<asp:ListItem>a</asp:ListItem>
<asp:ListItem>b</asp:ListItem>
</asp:ListBox>
<asp:ListBox ID="ListBox2" runat="server" Width="83px">
</asp:ListBox>
<input id="Dbclickflag" type="hidden" value="false" name="Dbclickflag" runat="server">
<script language="vbscript">
option explicit
sub ListBox1_ondblclick()
Form1.Dbclickflag.value="true"
Form1.submit()
end sub
</script>
{
if (Dbclickflag.Value == "true")
{
}