This topic is locked
[SOLVED]

 How to place a message on a page

4/8/2016 5:48:54 PM
ASPRunner.NET General questions
A
Arkie author

I have a page that sends an email. I'm looking for a good way to say that the email has been sent. I am currently using the Add Action for putting a message on the web page, but this isn't very useful. The message shows up at the very top of the page above the Header. I'd at least like to see it on the same window as the email.
The email examples given open a separate window and say something like "Record Added". I could use this if I could see how to change that message to something more meaningful like "Email Sent". A message of a record being added means nothing to the user.
TIA...

~Joe

Sergey Kornilov admin 4/11/2016

Joe,
you can use BeforeAdd event and sample code as follows:

message = "My message";


http://xlinesoft.com/asprunnernet/docs/before_record_added.htm
This is not the only way but definitely the easiest one.

A
Arkie author 4/12/2016



Joe,
you can use BeforeAdd event and sample code as follows:

message = "My message";


http://xlinesoft.com/asprunnernet/docs/before_record_added.htm
This is not the only way but definitely the easiest one.


Excellent.... That's just what I was looking for... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=79155&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> ... Thanks