Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Address Book

Reply
Thread Tools

Address Book

 
 
Bsiang Tan
Guest
Posts: n/a
 
      02-24-2004
Dear all experts,

In Yahoo Mail or Hotmail, we could click a button / or a link..[Insert
Address]
then it will pop up a new windows [Address Book] let us choose the username,
then when we close this child window, the original window, in
the recipient address will auto fill in all the user's email we select just
now..

Could anyone kindly point me how to do that ?
I don't know how to pop up a new child windows, and also don't know how to
make the
parent windows get the information the user select in the child windows.

Thank you very much.


Best regards,
Bsiang


 
Reply With Quote
 
 
 
 
Sarmad Aljazrawi
Guest
Posts: n/a
 
      02-25-2004
If i got you right, then you can use:

Window.open, window.showModalDialog, window.showModelessDialog

to open a new window, and in the opened window you can use

opener.document object to get access objects in the main window.

obs: if you use something like "x = window.open" then you can use (x) to get
access to objects in the child window.

hope this would help and feel free to post back for more info.

Regards
--
Sarmad Aljazrawi
B.Sc. Computer Science, MSDBA, MCP
www.aljazrawi.net


"Bsiang Tan" <(E-Mail Removed)> wrote in message
news:%23Wg0L8x%(E-Mail Removed)...
> Dear all experts,
>
> In Yahoo Mail or Hotmail, we could click a button / or a

link..[Insert
> Address]
> then it will pop up a new windows [Address Book] let us choose the

username,
> then when we close this child window, the original window, in
> the recipient address will auto fill in all the user's email we select

just
> now..
>
> Could anyone kindly point me how to do that ?
> I don't know how to pop up a new child windows, and also don't know how to
> make the
> parent windows get the information the user select in the child windows.
>
> Thank you very much.
>
>
> Best regards,
> Bsiang
>
>



 
Reply With Quote
 
 
 
 
Bsiang Tan
Guest
Posts: n/a
 
      02-25-2004
Dear Sarmad Aljazrawi,

Thank for your help, but I still have some problem, as I am newbie in
Asp.net. Hope you ca help me.

Let's say if I use "x = window.open('child.aspx')" in my child.aspx, i
have 2 textbox,
and once user fill the info into those 2 textbox, and close the child.aspx.
How can I get the value of those 2 textbox, and assign into my parent
window's variable, like
assignt the textbox1 value into my variable username[string], second
textbox2 value assign into my variable password[string].

Thank for your kindness.


Best regards,
Bsiang.



"Sarmad Aljazrawi" <anonymous[shylme]@discussions.microsoft.com> wrote in
message news:eGqrFK5#(E-Mail Removed)...
> If i got you right, then you can use:
>
> Window.open, window.showModalDialog, window.showModelessDialog
>
> to open a new window, and in the opened window you can use
>
> opener.document object to get access objects in the main window.
>
> obs: if you use something like "x = window.open" then you can use (x) to

get
> access to objects in the child window.
>
> hope this would help and feel free to post back for more info.
>
> Regards
> --
> Sarmad Aljazrawi
> B.Sc. Computer Science, MSDBA, MCP
> www.aljazrawi.net



 
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
Re: Book report (it took me 16 years to read the book ) Mara Computer Support 4 04-11-2008 03:35 PM
Re: Book report (it took me 16 years to read the book ) VanguardLH Computer Support 0 04-10-2008 03:13 PM
Does anyone got the e-book for the book MCTS Training Kit (70-528) =?Utf-8?B?WWlu?= MCSD 0 11-18-2006 03:30 AM
"Java Performance Tuning Book" anyone read this book? coltrane Java 2 09-27-2006 01:13 PM
awt book+java animation book Thanasis \(sch\) Java 1 10-14-2004 03:02 PM



Advertisments