Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a "content page" with customer text box and search button nearby, on click of search button a new popup window should come up with list of customers. On selection of customer popup window should returned with customer object. Customer name has to show in the "content page" text box and customer object in the tag.

Can anyone provide an example to open a new popup window and return with an object.
Thanks
Posted

You can use Modal PopUp extender from ajax contol toolkit.

In case you are intend to use this feature in more than one page, try to create a user control for this and use delegate to pass the selection from the usercontrol to your mainform.

Thanks,
Debata
 
Share this answer
 
There's tons of articles on stuff like this. Surely there's some on Code Project ? What's on your page doesn't really matter, it's javascript that handles all of this, and would work the same no matter what framework you used to generate it.
 
Share this answer
 
Comments
derinpdavis 16-Jun-11 20:50pm    
I couldn't find a particular function call back example, may be my search key words are not rich enough.
Found an example with window.opener.location.reload(), but this will reload my page which I don't want to be.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900