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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

18 Experts available now in Live!

Get 1:1 Help Now