AndreSch
Posts: 27
|
| Posted: 08/13/2008, 1:54 AM |
|
I have assets and suppliers. When I want to add a new asset item, I use the list box to select the supplier. If the supplier is not there, I have a link to a popup screen to allow me to add the supplier.
in the Popup screen, I have a close window link.
My issues are:
a) After adding the new supplier and I closed the popup, my listbox is not yet updated.
b) After pressing submit on the popup, I automatically want to close the window
Please help
|
 |
 |
marcwolf
Posts: 361
|
| Posted: 08/13/2008, 2:21 AM |
|
Ok.. You have 2 issues there.
1. You will need to use some kind of channel back from the server to get the updates changes to the listbox. This is where AJAX becomes handy. When you add a new item to via the popup you will need to tell the main window to get the new list from the server.
2. With the popup - you will need to use a HTML label and when the page is redisplayed after the successful save of a new record - close the popup.
Hope this helps
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
|