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
243 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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