a dashboard type thing that is a user's main screen,
its possible for a user to click on a record to edit one of those Rows (in a popup),
and be typing in some data, and the REFRESH activate and it blows
away the grid AND POPUP right in the middle of an edit.
I saw this strategy today in another tool.
Using JQUERY:
Code: Select all
if($j('[name=SelectedID]').val().length) setInterval(process_name, 5000);
This might be what Aware is doing internally, but it does it WITHOUT REGARD to anything else happening.
My user doesn't want to be blown out of an entry screen.
What I thought could be done is a SessionVar field be set, or something on the form that popped up,
and the CUSTOM setInterval code could, as in the example, see if there is a value set in a field.
If so, it means the user is not just sitting on the grid, but doing something.
When its time, our own function could call a "refresh" action for the grid.