Skip to Content
author's profile photo Former Member
Former Member

Creating a pop-up after onInputProcessing

I have a table. I let the user select a row. Then they click a button to basically open an existing record. At this point I check the database for the status of the record in the onInputProcessing section.

If the record contains a certain status the user would like a pop-up message (like an alert) either before going to the next screen. Or I could display some sort of message at the start of the next page. Has anyone had to do this or know of a good weblog to make a pop-up message occur?

It doesn't work to use the onClientClick because I have to go read information out of the database and decide wether or not to show the message.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Feb 08, 2005 at 07:37 PM

    In the layout method:

    <% IF we_require_popup_now IS NOT INITIAL. %> 'popup.htm?key=<%=var%>&etc=more', ...)
    <% ENDIF. %>

    The popup.htm is just another page in your BSP application. Check good HTML website to complete the ... One of the last many of Craig's weblogs gave you a bag full of options.

    Add a comment
    10|10000 characters needed characters exceeded

    • Thanks Raja. That was a stupid mistake.

      As for the information popup, you can consider using something like "[window.]alert('msg')" or maybe "[window.]confirm('msg')". You should really also invest the time in between to read a good JavaScript book. Or bookmark and browse some of the JavaScript websites Craig has in his bag.


  • author's profile photo Former Member
    Former Member
    Posted on May 11, 2005 at 03:47 PM

    Hi ,

    I have the same problem , but besides I have to pass parameters throw de POST method.

    There is any action (like navigation->go_to_page) that opens a new page out of the Portal and pass this parameters ?

    It is posible that a icon produce a server event ?


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.