Perhaps I'm missing something here, but I can't get this to work.
I've put an Ajax combobox inside a panel with a Modalpopupextender. When the panel opens, it shows the combox, but the button on the right is missing. At first i thought it had something to do with my CSS, but when i move the combobox outside the popuppanel, everything works fine.
I've tested this in both IE7 and Firefox 3
any help would be apreciated
here is the code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:ModalPopupExtender ID="MPE" runat="server" PopupControlID="panel" TargetControlID="LB"></cc1:ModalPopupExtender>
<asp:Panel ID="panel" runat="server" style="display:none">
<cc1:ComboBox ID="ComboBox1" runat="server"
AutoPostBack="true"
DropDownStyle="DropDown">
<asp:ListItem Value="0" Text="1" >Text 1</asp:ListItem>
<asp:ListItem Value="1" Text="2">Text 2</asp:ListItem>
<asp:ListItem Value="2" Text="3">Text 3</asp:ListItem>
</cc1:ComboBox>
</asp:Panel>
<h1><asp:LinkButton ID="LB" runat="server" style="font-size:40px; color:Red;" Text="clickme">click</asp:LinkButton></h1>
</form>
</body>
</html>