.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to open pop up in separate browser

Posted By: Ramesh     Posted Date: March 30, 2009    Points:2   Category :ASP.Net
Hello,
I have to open pop up window in a separate browser in asp.net. Please help me with code. I am using Asp.net and C#.

Thanks in advance.
Ramesh

Responses
Author: Athira Sreejith             
Posted Date: March 31, 2009     Points: 5   

Hi..


Through Javascript:

<a href="#" onclick="newWindow('Deletedcrentry.aspx');"><span class="boxtext_blue">Delete
DCR entry</span></a>

<script type="text/javascript">
function newWindow(url)
{
link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width=800,height=560,left=40,top=50");
}
</script>


Through ASP.NET:
<a href="http://www.google.com" target="_blank" class="logintext">Google Website</a>

Author: Meetu Choudhary             
Posted Date: April 30, 2009     Points: 5   

You can achiive This in following Ways

Through Javascript:

<a href="#" onclick="newWindow('http://msdotnetmentor.com');"><span class="boxtext_blue">MSDNM</span></a>

<script type="text/javascript">
function newWindow(url)
{
link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0");
}
</script>

Through ASP.NET:
<a href="http://www.msdotnetmentor.com" target="_blank" class="logintext">MSDNM</a>

Author: Ashutosh Jha             
Posted Date: July 29, 2014     Points: 20   

Hi ,

use this

window.open("http://www.locatorhome.com");


Regards,
Ashutosh Jha
ashutosh741@gmail.com

http://www.tricksroad.com


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend