日期:2014-05-17  浏览次数:20443 次

大神们995,我想在本页调用其他页的html代码怎么弄?
就是说我有一段每个页面都要用到的代码,但是我不能每个页面都写那些代码吧,所以,我想单独做一个我需要的页面,然后再其他页面调用我需要的代码,能否实现?
<dx:ASPxPopupControl ID="ASPxPopupControl1" runat="server" RenderMode="Lightweight" CloseAction="OuterMouseClick" LoadContentViaCallback="None"
                         PopupElementID="findagenttb" PopupVerticalAlign="Below" PopupHorizontalAlign=Center AllowDragging="True" 
                         Width="370px" Height="130px" HeaderText="查找" ClientInstanceName="ClientPopupControl" Top="133" Left="486">
                <ContentCollection>
                    <dx:PopupControlContentControl ID="PopupControlContentControl" runat="server">
                        <div>
                            <dx:ASPxGridView ID="Findvendorgv" runat="server" AutoGenerateColumns="False" 
                                KeyFieldName="Code" OnFocusedRowChanged="Findvendorgv_FocusedRowChanged"
                                 ClientInstanceName="Find" EnableCallBacks="false" Width="350px" Font-Size="Large" 
                                >
                                <Columns>
                                    <dx:GridViewDataTextColumn FieldName="Code" ShowInCustomizationForm="True" Width="70" 
                                        VisibleIndex="0" ReadOnly="True" Caption="??">
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <CellStyle HorizontalAlign="Center" />
             &nb