I currently have a dropdownlist extender who's TargetControlID is an image and DropDownControlID is a panel. In the panel I have an image, textbox, and ImageButton. (I do realize that the extemder is for a list, but I decided to try something different.
Everything works great except when I click the textbox to gain focus the Dropdown collapses. I understand this is done by design. What I am wondering is if there is a property, attribute, or some javascript I can add to keep the list expanded until the user clicks the image button. (I do have the imagebutton working fine, since that only requires a click)
Here is my code:
<asp:Panel ID="PanelsendToFriend" runat="server" Height="50px" HorizontalAlign="Right"
Width="149px" style="display:none; visibility:hidden" BackColor="White">
<img src="../../../../_ControlsLibrary/_UserControls/Products/Wishlist/Images/EnterEmail.jpg" /><br />
<asp:TextBox ID="TextBoxSendEmail" runat="server" Width="146px" ></asp:TextBox>
<asp:ImageButton ID="ImageButtonSend" runat="server" ImageUrl="~/_ControlsLibrary/_UserControls/Products/Wishlist/Images/Send.jpg" OnClick="ImageButtonSend_Click" />
</asp:Panel>
<cc1:DropDownExtender ID="DDE" runat="server" TargetControlID="ImageSendToFriend" DropDownControlID="PanelSendToFriend" DropArrowBackColor="Transparent" DropArrowImageUrl="Images/blank.gif" DropArrowWidth="0px" HighlightBackColor="white" HighlightBorderColor="Transparent" EnableViewState="false" ></cc1:DropDownExtender>
Thanks in advance for any help.
Frank