Page 1 of 1

Save and Load EditableFields

Posted: Thu Nov 11, 2010 3:57 am
by Jalal
Hello,

How i can save editable fields to a stream then load them again? Is this feature available in the current prerelease.

Regards,
Jalal

Save and Load EditableFields

Posted: Thu Nov 11, 2010 8:25 am
by Andrew
Hello,

Could you please explain your task in more detail.

Thank you.

Save and Load EditableFields

Posted: Thu Nov 11, 2010 10:40 am
by Jalal
Hello Andrew,

Lets suppose i mark a text block as editable. So when i am in viewer i can enable editable fields then press on that text block and edit it. My question if i can save the new text in some where(stream or path), so next time if i load the same mrt i can load the new text.

Regards,
Jalal

Save and Load EditableFields

Posted: Thu Nov 11, 2010 12:48 pm
by Ivan
Hello,

You can use the following methods in the StiReport class:

Code: Select all

public void SaveEditableFields(string path)
public void SaveEditableFields(Stream stream)
public void LoadEditableFields(string path)
public void LoadEditableFields(Stream stream)
Thank you.

Save and Load EditableFields

Posted: Thu Nov 11, 2010 2:40 pm
by Jalal
Hello,

Methods you mentioned are working fine using StiReport, but I can't find these methods using StiReport.SL. Are these methods supported in silverlight version ??

Thanks,

Jalal

Save and Load EditableFields

Posted: Fri Nov 12, 2010 1:37 am
by Andrew
Hello,

This function was not available, but we will add it in the next prerelease build.

Thank you.