C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




how to open a poppup window


Posted Date: 07 Oct 2008      Total Responses: 3

Posted By: Cathrin       Member Level: Gold     Points: 1


Hi friends,
Is it possible to open a page as a popup window and transfer the values from the popup window to the parent window..I tried an example..But popup window didnt open ....Could anybody explain it from the basics or tel me a website...
What is the difference between window.showmodaldialog and window.open




Responses

Author: sappi    07 Oct 2008Member Level: GoldRating:     Points: 3
window.open is the method used to open the pop up like aspx pages and window.showdialog is used to open the dialog boxes

if u want to write the code in the codebehind page write like this

Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "OpenWindow","<script language =javascript>window.open('FETextEditor.aspx')</script>" );



Author: karthikeyan-The Great    07 Oct 2008Member Level: GoldRating:     Points: 3
function mypopup()
{
mywindow = window.open ("http://www.dotnetspider.com",
"mywindow","location=1,status=1,scrollbars=1,
width=100,height=100");
mywindow.moveTo(0,0);
}



Author: Manindra Upadhyay    07 Oct 2008Member Level: GoldRating:     Points: 2
http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

http://www.w3schools.com/HTMLDOM/met_win_open.asp



Post Reply
You must Sign In to post a response.
Next : Play video files in .net
Previous : error arise
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

SPOC

Contact Us    Privacy Policy    Terms Of Use