This topic is locked

Export Window

3/15/2004 9:55:58 AM
ASPRunnerPro General questions
C
cherrywine author

Is there a way to prevent the Export Window from being a new window or a way to have a "back to list" button on the Export Window just like the Advanced Search Windows has? Thanks.

Sergey Kornilov admin 3/15/2004

If you use ASPRunner Professional open list.asp in Template Editor and find the following code snippet:

<!-- export to form -->

<form target=_blank name=exportto method=post action="##SHORTTABLENAME##_export.asp">


Remove target=_blank and use this template when you build ASP code.

<!-- export to form -->

<form name=exportto method=post action="##SHORTTABLENAME##_export.asp">


I hope this helps.

C
christybhoy 3/15/2004

To get the export window to open in the same exploorer window

you have to edit the code from the ..._list.asp page.

<!-- export to form -->

<form target=_blankname=exportto method=post action="export.asp">


You want to remove 'target=_blank' and this will work!

<!-- export to form -->

<form name=exportto method=post action="export.asp">


As for 'back to list'

you can in sert the following code into the page you want!

Response.write "&nbsp;&nbsp;&nbsp**;<a href=***_list.asp**onClick=""GotoPage( " & mypage & "); return false;"">Back to list</a>"

Response.Write "<table cellpadding=2>"


this should work