This topic is locked

message from custom buttom server side codes

9/28/2012 7:08:35 AM
ASPRunnerPro General questions
A
admin author

Hi,
Is there any way we can display a message while executing custom button server side code. As a requirement I can't write message display code in client before or in client after.
message should be display as model window and user should not be able to do anything else unless he respond to that message by pressing OK in message window.
Sami

A
admin author 10/3/2012

Appreciate if somebody can help on this.

Sergey Kornilov admin 10/3/2012

You cannot display message in popup from the server side code as server side code runs on the web server. Your best bet is to pass the message from server side code to ClientAfter event and display it in popup there.
This article provides examples of doing this:

http://xlinesoft.com/asprunnerpro/docs/inserting_button.htm
Contact support directly if you need more help with this.