.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 10th, 2003, 12:14 PM
JulianM JulianM is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 1 JulianM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Opening a new window

Hi there, I've been programming in .NET for a month now, so I apologise if this is a real newbie question.<br><br>Anyway, I have an asp page (with c# code behind) and what I want to do is open up a new page (in a new window) which will contain a datagrid. The user will then select an item on the grid, press an OK button which will close this page and return a value to the calling page.<br><br>I am trying to do this using javascript and the "window.open" command, but I don't know how to return control (or a value) back to the calling page when I close the popup page.<br><br>So the flow of control I want would look somthing like this:<br><br>Load Page1<br>-> Do some processing then call the popup<br>--->Load Page2<br>----->Select an item on the grid, press OK<br>----->Close Page2, return value to Page1<br>--->Continue processing on Page1, based on the value returned<br><br>Does this look possible? Or should I look at using less convoluted functionality <img src="/forum/emoticons/smile.gif" alt=":-)"> <br><br>Any help on this would be greatly appreciated as it has been bugging me for days!<br><br>TIA,<br>JulianM

Reply With Quote
  #2  
Old January 24th, 2003, 12:26 PM
zjxing_f zjxing_f is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 1 zjxing_f User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You should use MessageBox WebControl whose ShowDialog method can popup your customized HtmlDialog and enable the dialog return a string value to the Control.<br><br>Please view http://www.jttz.com/msgbox/index.htm for the detail about MessageBox WebControl.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Opening a new window


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT