大神们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" />
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn FieldName="CODENM" ShowInCustomizationForm="True"
VisibleIndex="1" Caption="?">
<HeaderStyle HorizontalAlign="Center" />
<CellStyle HorizontalAlign="Left" />
</dx:GridViewDataTextColumn>
</Columns>
<SettingsBehavior AllowFocusedRow="True"
AllowSelectSingleRowOnly="True" ProcessFocusedRowChangedOnServer="True"
ProcessSelectionChangedOnServer="True" AllowSort="False" />
<SettingsBehavior AllowSort="False" AllowFocusedRow="True" AllowSelectSingleRowOnly="True" ProcessSelectionChangedOnServer="True" ProcessFocusedRowChangedOnServer="True"></SettingsBehavior>
<SettingsPager PageSize="500">
</SettingsPager>
<Settings VerticalScrollBarMode="Auto" />
<SettingsText EmptyDataRow="没有数据" />
</dx:ASPxGridView>
</div>
</dx:PopupControlContentControl>
</ContentCollection>
</dx:ASPxPopupControl>