This topic is locked

add create custom print page

8/20/2016 2:26:06 PM
PHPRunner General questions
T
tubisan author

I want to create a custom print page. I want to create a custom design page and print it and Print with a button in the list screen.
Insert print button into datagrid. Print button click custom print page..


romaldus 8/20/2016



I want to create a custom print page. I want to create a custom design page and print it and Print with a button in the list screen.
Insert print button into datagrid. Print button click custom print page..




http://www.asprunner.com/forums/topic/15908-how-to-create-multiple-print-pages-based-on-the-same-data/

T
tubisan author 8/21/2016

.

Phprunner 9 can you give any example ?

example CustomView_print.php

T
tubisan author 8/22/2016

I can not run PHPRunner 9 .

Sergey Kornilov admin 8/23/2016

It looks like your custom print page is a View page. So what you need to do in your buttons code is to redirect user to the View page of selected record.
See examples at http://xlinesoft.com/phprunner/docs/inserting_button.htm#examples
Example #4 shows how to redirect to another page. Example #6 shows to access the current record values and how to pass it to ClientAfter event.