Disable file download

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
eayvl
User
Posts: 315

Disable file download

Post by eayvl »

hi, how can I customize that a user can not download a file.

Thanks for help me.


sangnandar
User
Posts: 980

Post by sangnandar »

By "download" I assumed you mean export.

Try,
Page_Load(){
if (condition) {
foreach ($this->ExportOptions->Items as $item) {
$item->Visible = FALSE;
}
}
}


mobhar
User
Posts: 11727

Post by mobhar »

You may hide the download link by using "Row_Rendered" server event. Please read "Server Events and Client Scripts" topic from PHPMaker Help menu.


eayvl
User
Posts: 315

Post by eayvl »

sangnandar wrote:
By "download" I assumed you mean export.

is correct, I do not want to download or show the option to download the file of a specific field or column

thanks,


Post Reply