Save and Load EditableFields

Stimulsoft Reports.Silverlight discussion
Locked
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

Save and Load EditableFields

Post 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
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Save and Load EditableFields

Post by Andrew »

Hello,

Could you please explain your task in more detail.

Thank you.
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

Save and Load EditableFields

Post 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
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Save and Load EditableFields

Post 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.
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

Save and Load EditableFields

Post 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
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Save and Load EditableFields

Post by Andrew »

Hello,

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

Thank you.
Locked