?
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
Medium Priority
?
279 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

718 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