Hi. I'm using vs2008 and vb.net. I have a dropdownlist on my web page that is 500px wide. When the user clicks on the dropdown arrow, I want to change the width to auto. There is no onclick event for the asp dropdownlist and I don't know how to capture the click so I can widen the field.
Here's my code on my dropdownlist:
<aspropDownList ID="dropCustID" runat="server"
AppendDataBoundItems="True" AutoPostBack="True" Height="25px" OnSelectedIndexChanged="dropCustID_SelectedIndexChanged"
style="font-size: small; font-family: 'Courier New', Courier, monospace;" TabIndex="1">
<asp:ListItem></asp:ListItem>
</aspropDownList>
I've searched all over the web and am hoping that someone can help me out with this.
Thanks
Cathy
Here's my code on my dropdownlist:
<aspropDownList ID="dropCustID" runat="server"
AppendDataBoundItems="True" AutoPostBack="True" Height="25px" OnSelectedIndexChanged="dropCustID_SelectedIndexChanged"
style="font-size: small; font-family: 'Courier New', Courier, monospace;" TabIndex="1">
<asp:ListItem></asp:ListItem>
</aspropDownList>
I've searched all over the web and am hoping that someone can help me out with this.
Thanks
Cathy