This topic is locked

alert

9/2/2009 7:32:11 PM
ASPRunnerPro General questions
M
monye author

Dear all,
i added this code in the after record updated event,
Response.Write "<script>alert('I\'m a popup window')</script>"
but nothing happens, just returns to listpage.
Also tried response.write "hello", but doesn't show a message.
any ideas becuase i wan't to inform user.

C
clig 9/3/2009



Dear all,
i added this code in the after record updated event,
Response.Write "<script>alert('I\'m a popup window')</script>"
but nothing happens, just returns to listpage.
Also tried response.write "hello", but doesn't show a message.
any ideas becuase i wan't to inform user.


do you have a response.redirect before this line?

M
monye author 9/3/2009

no i dont have response.redirect before this line the only thing i do is update some fields in the database with mysql statement.

C
clig 9/3/2009



no i dont have response.redirect before this line the only thing i do is update some fields in the database with mysql statement.


the reason I asked is I thought the default behaviour is "Record Updated" not a return to the list page