Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Pretty sure people would have come across this.

Issue:
There is a search customer button, on clicking it, opens a modal window based on modalpopupextender.
On the modal window, search results are loaded into a gridview and the user is allowed to select the desired customer.

Now how do I pass those selected customer details to textboxes in parent window.
Right now I tried passing the value in the rowselected event of the gridview, but Iam not able to access the parent form's textbox in that way.

Would be great if someone can direct me in the right direction.
Posted

1 solution

Follow the steps in this article: Returning a value from a modal popup[^], I believe it is exactly what you need.
 
Share this answer
 

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