|
Create popup window and return selection to first window -- drapp --
I'm a newbie and stuck too... I need to do the following and am running into walls and not sure how to proceed. I'm building some pages using VB.net. For extreme simplicity, lets assume the following... MainPage.aspx -- I have a single label (id: MyLbl1) and a link (id: MyLink1). The link control needs to create/call a popup window... PopupWindow.aspx -- has a data grid control on it with a list of valid choices a user can pick from. It also has a control to allow person to enter a value to "limit" the search (based on an incremental filter as they type) -- this part no problem. The problem. How do I get 1) The popup window to get the value chosen back to the main page and put it in the field MyLbl1... 2) Force a submit (or other technique to refresh) of the MainPage.aspx after the PopupWindow choice is made... and 3) Close the PopupWindow I could probably do what I'm thinking of with a few javascripts, but when the .aspx page has the controls rendered as "RUN AT SERVER", I can't get it to recognize the LOCAL client side script I want it to call. If there are other options that I (as a newbie) am NOT aware of, I'm open to suggestions.... Thanks.. |
|
-- admin --
I think use javascript it would better. You can combine run at server and javascript. Anyone can help? |