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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now