Page 1 of 1

Custom event for blobview page

Posted: Thu Jan 22, 2015 1:42 am
by dkTronics

Please consider option for customize the events of blobview page.
For example, i need modify the PageLoad event for track if a file has been downloaded. Add custom code in the generated blobview.php file is not complicated, but is easy lost the changes when the project is generated again.


Re: Custom event for blobview page

Posted: Mon Dec 12, 2016 9:48 pm
by dkTronics

Sorry, after I had sent the message I found a solution to the problem.
A simple option to solve the problem is to use the Page_Loading event (All Pages)

if (CurrentPageID() == "blobview")
{
      /*  Here my custom code for track if a file has been downloaded */
}