Click here to Skip to main content
16,017,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
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. It will look like this

1.aspx
2.aspx
3.aspx
are different pages

default.aspx
this is the page where we are having


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>
Posted
Comments
Sergey Alexandrovich Kryukov 25-Feb-12 4:25am    
0) There is not such concept, "call a page"... What you are doing in your sample is a HTML anchor, navigation element.
1) Why doing so?
2) This is different, but -- why would not you change design to using master pages?
3) If you really need it, what's the problem? You can always merge any content on the server side...
--SA
Ed Nutting 25-Feb-12 5:45am    
Or as is occasionally useful, use iFrames.....

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900