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

Top 5 Contributors of the Month
Sharon Maxwell

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

how to open pop up in different window

Posted By: Ramesh     Posted Date: April 26, 2009    Points:2   Category :ASP.Net
how to open pop up window in different browser. i am using asp.net and C# as my language.

Please help me


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

you can use JavaScript's window.open method on the onclientclck event....

Author: Gaurav Arora             
Posted Date: April 28, 2009     Points: 5   

Hi ramesh,

I agree with meetu, perhaps she forgot to post syntax
Try this :

window.open ("http://www.msdotnetheaven.com","Lets Share Knowledge");

Gaurav Arora

Author: Athira Sreejith             
Posted Date: April 29, 2009     Points: 5   


You can do with javascript.Like:

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

<a href="#" onclick="newAdminDelete('DeleteAdminInformation.aspx');"><span class="boxtext_blue">
Delete Admin Information</span></a>

<a href="http://www.w3schools.co.in" target="_blank" class="logintext">w3schools Website</a>

Author: Akhil Raj       [Moderator]      
Posted Date: May 04, 2009     Points: 5   

you can use winowd.open() method of javascript

Author: krishana singh             
Posted Date: October 16, 2010     Points: 5   

MessageBox.Show("BackUp the database successfully at " + txtBackUpPath.Text.ToString(), "Backup Database", MessageBoxButtons.OK, MessageBoxIcon.Information);

Author: krishana singh             
Posted Date: October 16, 2010     Points: 5   



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

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