dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online Membersbaskar
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » ASP.NET »

I want to create a popup window in a webform for button click event. please give hint to right code


Posted Date: 23 Jul 2006      Posted By:: Vikas Yadav     Member Level: Silver    Member Rank: 0     Points: 2   Responses: 3



I want to create a popup window in a webform for button click event please help me



Responses

#64283    Author: Pankaj Mishra      Member Level: Gold      Member Rank: 50     Date: 24/Jul/2006   Rating: 2 out of 52 out of 5     Points: 2

HI,
Use javascript window.open("mypage.htm");

Regards
Pankaj

Regards,
Pankaj
MyBlog



 
#64315    Author: Rajikiran      Member Level: Gold      Member Rank: 0     Date: 24/Jul/2006   Rating: 2 out of 52 out of 5     Points: 2

u can also use

Response.write(<script>alert (Confirm me?,Confirm)</script>)

u will get alert box,change ur message box as necessary...

rajikiran...



 
#196574    Author: narmada reddy      Member Level: Silver      Member Rank: 0     Date: 29/Feb/2008   Rating: 2 out of 52 out of 5     Points: 2

hai

<Script Language="JavaScript">
function open_win()
{
testwindow= window.open('http://www.domain.com','','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');
}
</Script>


<asp:button id="btn" text="name" runat="server" onclick="open_win("Default.aspx")">






 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : How to Handel Dropdown List Auto Post Back Implementation
Previous : I want to create a popup window in a webform for button click event. please give hint to write code
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.