Click a button on a page, have it popup a search page (js, ajax, whatever). The search page is nothing more than a wrapper for a user control which contains the search logic & UI - I can manipulate properties if needed. The popup has fields to search by, a search button, and a cancel button.
The 2 things I need to handle are if cancel is pressed (close the popup and resume) or populate the calling page with the results of the selection from the search.
Default.aspx has a textbox (txtName), label, and one button (btnSearch).
Popup.aspx has one user control which (for simplicity) returns a GUID and closes itself.
Default.aspx then needs to load itself based on that GUID.
If the User Control weren't there, I'd have this knocked out. What I don't know is how to get through the layers of the Popup.aspx and the User Control to get that selected value. I'm also not too sure how to cause the event to fire once the result is returned since I'd planned on using JS to open the popup.
I'll be monitoring all day - Any help would be greatly appreciated. Also, I'm an ex-EE user for years. They normally let a question like this just sit. PLEASE let me know if I'm going about this the wrong way, if it's impossible, or if you have a better idea! Thank you!
July 22, 2008 2:58 PM
July 22, 2008 5:53 PM