.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 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

Regards
Ramesh

Responses
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");

Regards,
Gaurav Arora

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

Hi..

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");
}
</script>

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



OR
<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   

using

page.registerclientscript.startScript



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