We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

EditControl state serialization

Thread ID:

Created:

Updated:

Platform:

Replies:

55037 Jan 23,2007 03:49 AM Feb 1,2007 04:58 PM Windows Forms 4
loading
Tags: EditControl
Administrator [Syncfusion]
Asked On January 23, 2007 03:49 AM

Hi,

Is there any possibility to save editcontrol state?
For example, if user change property ShowLineNumbers through Options, and after next load this property will be set?

What is the simplest way to do that? Can it be done without explicit enumeration of all control properties?

Thanks in advance

Administrator [Syncfusion]
Replied On January 29, 2007 09:13 PM

Hi Olga,

Our apologies for the delayed response. We are looking in to this issue and will update you with more information within a day.

Thanks for your patience.

Regards,
Ebenezer.P

Administrator [Syncfusion]
Replied On January 31, 2007 08:27 PM

Hi Olga,

It is possible to save EditControl state. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thanks for your patience.

Regards,
Ebenezer.P

sample

Administrator [Syncfusion]
Replied On February 1, 2007 10:11 AM

Hi,

No, you simply save only LineNumber property:

hashtable1.Add("LineNumber",this.editControl1.ShowLineNumbers);

How could I know which properties were changed by user - Line Number was only an example.

User selects Options and changes several option - line numbers, margins, whatever... - there are a lot of them.

I just want to serialize the current state of the control - in order to set those options on the next start.






Administrator [Syncfusion]
Replied On February 1, 2007 04:58 PM

Hi Olga,

I am afraid, this feature is currently not available in the EditControl. We have considered this as feature request and will notify you when the feature has been implemented.

Thanks for using Syncfusion products.

Regards,
Ebenezer.P

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;