Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi , need your help
I want to ask how to reload existing page from another page.
Example : I click to open page in new tab by target=”_blank” , when I click again , that page reload , don’t open new tab.
I don’t want to use javasript.
thanks for the reply
Posted
Comments
Vani Kulkarni 23-Aug-12 0:16am    
Your question is unclear. Please elaborate.
nstungxd 23-Aug-12 4:07am    
http://www.hvaonline.net/
In this site ,when i click "Forum" , the site will open a new tab .And then, when I click “Portal” , the site won't open a new tab , first tab will reload .
how to create two buttons like it
thank for the reply.
CodeHawkz 23-Aug-12 0:54am    
Hi there,

It would really depend on your browser settings or your code. We can't tell much from the info you have given in the question. But, do play with the values which are valid for the 'target' attribute and see how it goes.
http://www.w3schools.com/TAgs/att_a_target.asp
nitin bhoyate 23-Aug-12 7:50am    
If you are using the Asp.net then you can use the ajax tabpage
if yes i will provide solution
nstungxd 23-Aug-12 21:49pm    
Yes , Can you provide me your solution ? Thanks

Hi,

Yes you can do this easily. Just use "Your Window Name" in your target property instead of "_blank"

See the example below, it will always open the link is same new window.

HTML
<a href="http://www.google.com" target="mywindow">Open Google</a> 

<a href="http://www.yahoo.com" target="mywindow">Open Yahoo</a>



Hopefully this will help you.

Regards
 
Share this answer
 
v2
You can use the Ajaxtabpage control from ajaxtoolkit

Refer this site[^]
 
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