Solved

click on a button, load a new window, get a string value back from that window to your orignal asp .net page

Posted on 2006-11-10
3
264 Views
Last Modified: 2010-05-18
i want to click a button, then load a new window ( pop up ) and return what the user typed in.

on this window im going to load a page that is another aspx page and it will store session variables but i also want it to return a string directly to the orginal page.
0
Comment
Question by:godcomputer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 17917685
use javascript window.open
0
 
LVL 25

Accepted Solution

by:
nauman_ahmed earned 500 total points
ID: 17917747
Check the following:

ASP.NET ModalDialog with PostBack and return values to Parent Page
http://www.eggheadcafe.com/articles/20050319.asp

--Nauman.
0
 
LVL 35

Expert Comment

by:YZlat
ID: 17917749
button1.Attributes.Add("onclick", "javascript:window.open('page2.aspx');")
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question