简体   繁体   English

如何将不同的aspx页面调用到另一个页面中的

[英]How to call different aspx pages into a which is in another page

How to call different aspx pages into a div which is in another page, and the references of the page is in the page which we are having div. 如何将不同的aspx页面调用到另一个页面中的div中,并且该页面的引用在我们拥有div的页面中。 It will look like this: 它看起来像这样:

1.aspx
2.aspx
3.aspx 

Each are different pages. 每个都是不同的页面。

default.aspx is the page where we are having: default.aspx是我们拥有的页面:

<div>
  <pre lang="xml">
    <p>
      <a href="1.aspx" id="leftslide"> 1</a>
    </p>
    <p>
      <a href="2.aspx" id="leftslide"> 2</a
    </p>
    <div id="leftslide" align="left"> pages would load here </div>
  </pre>
</div>

For archieve this you can use master pages. 对于存档,您可以使用母版页。

http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx http://msdn.microsoft.com/zh-CN/library/wtxbf3hh.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM