I am attempting to display a panel via a modalpopupextender in a RadWindow. The Panel displays, however the content does not. Is it technically possible to nest a modalpopupextender within a RadWindow?
| function pageLoad() |
| { |
| EditContractMPE = $find('EditContractMPE'); |
| } |
| function AddAContract() |
| { |
| $get('<%=EditContractPanel.ClientID %>').style.display = 'inline'; |
| EditContractMPE.show(); |
| } |
| <asp:Panel ID="EditContractPanel" CssClass="modalPopup" style="display: none" runat="server" BorderStyle="Solid" Width="600px"> |
| <table border="0" width="20%" class="PopUpDialogbody"> |
| <tr> |
| <th colspan="4" align="center" class="header" >Contract Editor</th> |
| </tr> |
| <tr> |
| <td colspan = "4" ><span id="PopUpMsg" class="ErrorMessage"></span> </td> |
| </tr> |
| <tr > |
| <td> |
| Contract Number |
| </td> |
| <td> |
| <input type="text" maxlength="30" size="30" id="EditContractNumber" /> |
| </td> |
| <td> |
| Acronym |
| </td> |
| <td> |
| <input type="text" maxlength="30" size="30" id="EditDivisionActive" /> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Program Name |
| </td> |
| <td> |
| <input type="text" maxlength="200" size="30" id="EditProgramName" /> |
| </td> |
| <td> |
| Division |
| </td> |
| <td> |
| <asp:DropDownList ID="DivisionDDL" runat="server" > |
| </asp:DropDownList> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Customer |
| </td> |
| <td> |
| <asp:TextBox runat="server" id="CustomerTB" size="30"></asp:TextBox> |
| <ajaxToolkit:AutoCompleteExtender ID="CustomerACExtender" runat="server" TargetControlID="CustomerTB" |
| ServiceMethod="GetCustomerList" UseContextKey="true" MinimumPrefixLength="2" |
| CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" |
| CompletionListItemCssClass="autocomplete_listItem" |
| CompletionInterval="400" EnableCaching="true" CompletionListCssClass="autocomplete_completionListElement" |
| CompletionSetCount="15" DelimiterCharacters=":;" > |
| </ajaxToolkit:AutoCompleteExtender> |
| </td> |
| <td> |
| SubContract |
| </td> |
| <td> |
| <asp:CheckBox ID="SubContractCheckBox" runat="server" /> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Archived |
| </td> |
| <td> |
| <asp:CheckBox ID="ArchivedCheckBox" runat="server" /> |
| </td> |
| <td> |
| Archive Date |
| </td> |
| <td> |
| <asp:TextBox ID="ArchiveDateTB" TextMode="SingleLine" runat="server"></asp:TextBox> |
| <ajaxToolkit:CalendarExtender ID="CalendarExtender1" TargetControlID="ArchiveDateTB" |
| Format="mm,dd,yyyy" runat="server"> |
| </ajaxToolkit:CalendarExtender> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Location |
| </td> |
| <td> |
| <input type="text" maxlength="30" size="30" id="EditMfgLocation" /> |
| </td> |
| </tr> |
| <tr><td> </td></tr> |
| <tr> |
| <td colspan="4" align="center"> |
| <input type="button" id="EditOk" title="OK" size="120" class="button" value="Save" /> |
| |
| <input type="button" id="EditCancel" title="Cancel" size="120" class="button" value="Cancel" /> |
| </td> |
| </tr> |
| </table> |
| </asp:Panel> |
| <asp:Button runat="server" ID="DummyTargetforContractMPE" Style="display: none" /> |
| <ajaxToolkit:ModalPopupExtender ID="EditContractMPE" runat="server" |
| PopupControlID="EditContractPanel" |
| TargetControlID="DummyTargetforContractMPE" |
| BehaviorID="EditContractMPE" |
| DropShadow="false" X="175" Y="150" |
| BackgroundCssClass="modalBackground" |
| CancelControlID="EditCancel" OkControlID="EditOk" |
| OnCancelScript="CloseContractsPanelMPE()" OnOkScript="ProcessContractsPanelMPE()" |
| > |
| </ajaxToolkit:ModalPopupExtender> |