This topic is locked

Adding 'Print' button to a View page

5/21/2018 5:48:13 PM
PHPRunner Tips and Tricks
admin

Insert a button into View page in Visual Editor and name it 'Print'. Add the following code to ClientBefore event and make sure other button events do not contain any code.
Replace "categories" with the actual table name.

var url = new URL(location.href);

location.href="categories_print.php?selection[]="+url.searchParams.get("editid1");


ASPRunner.NET version

var url = new URL(location.href);

location.href="categories/print?selection[]="+url.searchParams.get("editid1");


Classic ASP version

var url = new URL(location.href);

location.href="categories_print.asp?selection[]="+url.searchParams.get("editid1");
G
georgweber 8/30/2018

How i can do this in the list page for a selected record

ruzgarajans 9/17/2018



How i can do this in the list page for a selected record



hi,
pls help
print directly from list view with grid action button
(sorry i cant speak english)