Create, download and save file from Web Portal

Hi all

My client wants me to add a button in the Web Portal to allow him to create a plain .txt report with certain data.

Currently I’m trying to use a “Data Action” -> “Save File” control, that seems to me to be the right choice.

The control “Safe File” shows 3 params:

               File Name

               Append to file

               Value (file content)

I provide the control with all the params but when I compile the solution it keeps telling me

“No overload for method 'SaveToFile' takes 2 arguments “

When I edit the C# code behind, it seems the param “bool append” is missing and I can’t find an solution to pass it to the function VI.WebRuntime.WebSql.SaveToFile that raises the exception.

Please, any suggestions?

Parents Reply Children