Nested Panel content not displaying

4 posts, 0 answers
  1. Joel Brom
    Joel Brom avatar
    11 posts
    Member since:
    Feb 2010

    Posted 03 Mar 2010 Link to this post

    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>&nbsp;</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>&nbsp;</td></tr>  
            <tr> 
                <td colspan="4" align="center">  
                    <input type="button" id="EditOk" title="OK"  size="120" class="button" value="Save" /> 
                    &nbsp;&nbsp;&nbsp;  
                    <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>   
  2. Joel Brom
    Joel Brom avatar
    11 posts
    Member since:
    Feb 2010

    Posted 03 Mar 2010 Link to this post

    I think my issue is that a modalpopupextender does not work well within a modal RadWindow.  I am taking a different approach.
  3. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 08 Mar 2010 Link to this post

    Hello Joel,

    I am not quite sure that I understand your setup correctly. Could you please post the full page's code?


    Regards,
    Georgi Tunev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  4. Joel Brom
    Joel Brom avatar
    11 posts
    Member since:
    Feb 2010

    Posted 08 Mar 2010 Link to this post

    I have abandon this approach, it is no longer an issue.
Back to Top