Hi All,
have searched both inside this forum and on the interwebs and have tried all ideas that I could come up with.
What I want is to simply be able to "force" what the selected / visible entry is in a select list, based on an item on the same page, without having to Refresh the whole page
I have a modal dialog that, before it closes,
- inserts a row into the table that the select list is based on, and
- updates the column in the table that is the source for the select list item with the new ID
I have a DA that is successfully (these are all of the things I've tried)
- firing on the Close Dialog event
- populating a hidden page item (that is in the same region as the select list) with the new ID returned from the modal dialog
- setting the select list item value with this new returned value
- refreshing the select list
The select list refuses to show the item I want it to show, even though it is in the list at the time (I checked manually). Maybe it's something I'm doing wrong, or maybe this is a javascript task?
Thanks,
Paul