Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > popup repopulate

Reply
Thread Tools

popup repopulate

 
 
luna_s
Guest
Posts: n/a
 
      03-06-2004
i have a popup box in a form
a user can enter data in this popup box and hit save -
how can i refresh the main page with the new data ?
popup is javascript - the datas saved to a database
the main form connects to the same database - i can get it to appear once i
search again on the same id number

thanks
mark


 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      03-06-2004
Hi,

in popup window you can access the main page client script via opener
property. For example:

opener.someMethod();

This way you could put some client method at main page (that say posts in
behalf of existing control) which you call from the popup.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist


"luna_s" <(E-Mail Removed)> wrote in message
news:Iam2c.4983$(E-Mail Removed)...
i have a popup box in a form
a user can enter data in this popup box and hit save -
how can i refresh the main page with the new data ?
popup is javascript - the datas saved to a database
the main form connects to the same database - i can get it to appear once i
search again on the same id number

thanks
mark



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic datagrid dropdown valuechanged repopulate 2nd list editmo =?Utf-8?B?Y2luZHk=?= ASP .Net 0 09-21-2006 04:40 PM
Repopulate TreeView JN ASP .Net 0 01-26-2006 03:39 AM
explanation of when need to repopulate control TS ASP .Net Building Controls 28 08-24-2005 09:30 AM
Main > Popup > Popup > Close popup AND new URL in main? Jens Peter Hansen Javascript 7 06-19-2004 08:56 PM
How to repopulate a dropdown list without posting back? TaeHo Yoo ASP .Net 4 07-23-2003 07:07 AM



Advertisments