locked
Modal popup with Repeater control Issue RRS feed

  • Question

  • User-1004789691 posted

    So i have a panel with a repeater in it. The panel is the targetcontrolID and if i just put plain text in it( I.E. Testing 1 2 3) that shows up when i do MPE.show However the repeater does not. Any suggestions? The popup is "poping-up" when you click a link in a datagrid and that functionality is fine.


    I have included my code below tto help you see the problem:


    ASPX:

    <Ajax:ModalPopupExtender ID="mpeOrderPopup" runat="server" DropShadow="true" TargetControlID="cmdDetail"
                        PopupControlID="OrderDetails" BackgroundCssClass="modalBackground" RepositionMode="None" Y="0" X="250" />
       <asp:Button ID="cmdDetail" runat="server" style="display:none;" />
                    
       
            
                        <asp:Panel ID="OrderDetails" runat="server" Style=" width: 475px;"
                            CssClass="modalPopup">
                            Testing 1 2 3
                            <asp:Repeater ID="OrderItems" runat="server">
                                <HeaderTemplate>
                                    
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <p>
                                        <asp:Label ID="lblLawsonNum" runat="server">Item #:</asp:Label>
                                        <asp:Label ID="lblLawson" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Num")%>'></asp:Label>
                                    </p>
                                    <p>
                                        <asp:Label ID="lblQuanitiy" runat="server">Quantity Requested:</asp:Label>
                                        <asp:Label ID="lblQuantityRequested" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Quantity")%>'></asp:Label>
                                    </p>
                                    <p>
                                        <asp:Label ID="lblDecription" runat="server">Item Description:</asp:Label>
                                        <asp:Label ID="lblItem" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Description")%>'></asp:Label>
                                    </p>
                                </ItemTemplate>
                                <SeparatorTemplate>
                                    ------------------------------------------------------
                                </SeparatorTemplate>
                                <FooterTemplate>
                                   
                                </FooterTemplate>
                            </asp:Repeater>
                        </asp:Panel>


    Tuesday, September 8, 2009 12:56 PM

Answers

All replies