Hi all,
Is that anyway i can convert the physical file to xml base64 format and transfer this data to file control in k2 list view?
Scenario 1: Set the smartobject attachment datatype to "File"
I do not want to save the attachment as <file><content>____<content><file> in sql table which i declare my database column as nvarchar(max).
Scenario 2: Set the smartobject attachment datatype to "memo"
This will return the k2 temporary path of the file. My method is to copy this attachment to my predefined location.
But whenever i load the list view, when this link is passed to file control (list view), error occur ("object reference not set to an instance of an object").
So, my thought is to convert the physical file that i store in my predefined location to xml base64 format <file><content>___<content><file> which enable me to pass the file back to the file control (list view) successfully.
Is that any other ways?
Thanks & Regards,
Kyo.