This topic is locked

Add New in Popup

2/17/2008 7:55:36 AM
ASPRunnerPro General questions
Lowkeck authorDevClub member

How can I set "Add New" window to appear in a popup window in version 5.2?

Sergey Kornilov admin 2/18/2008

Proceed to Visual Editor in HTML mode and change link properties to open in new window:

<a target=_new href ...

A
agmoraojr 4/12/2008

hi admin,
how can add new pop window as what the user ask without toolbars, link, and status bar ..
thanks,

Proceed to Visual Editor in HTML mode and change link properties to open in new window:

J
Jane 4/14/2008

Hi,
use window.opn JavaScript function to open small window without toolbar and status bars.

Here is a sample:

http://www.javascript-coder.com/window-pop...ndow-open.phtml

L
luic 4/14/2008

After the record is added, I can close the add page but how can I automatically refresh the list page to show the new record?
Chris.

J
Jane 4/15/2008

Chris,
use After record added event to refresh main page.

Here is a sample:

%><script>

opener.location.reload(true);

self.close();

</script><%

B
Bryan 5/6/2008

Hi,
Could some basic (working) code be provided for this popup box?
When ASPRunner generates a list page, the code for the add-new button is:
<span class=buttonborder><input disptype="control1" type=button class="button" value="Add new" onClick="window.location.href='Table1_add.asp'"></span>
What exactly needs to be changed for it to become popup? According to this post, "<a target _new href" is needed, but where and what's the rest of the code? Does this replace winow.location.href? Where does the Javascript function come into it?
Full explanation please!
Thanks,

Bryan

J
Jane 5/7/2008

Bryan,
use window.open JavaScript function to open add page in the another window.

Here is a sample:

<span class=buttonborder><input disptype="control1" type=button class="button" value="Add new" onClick="window.open('Table1_add.asp');"></span>