Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Serializing NI Controls

Hi. Im creating an application using measurement studio 8.5 in MS VS2008 with C#.  This application requires the serialization of both NI forms and web controls.  From my tests it appears that neither type of control can be serialized in either binary or xml fromat.  Is this an oversight on the part of NI or simply a bug?  Any help in furthering my understanding would be appreciated. Thanks in advance.
0 Kudos
Message 1 of 2
(3,357 Views)
Hi EvaDav,

You should be able to serialize the NI (form) controls in Visual Studio 2008.
Please see here and here.

To check a control for the ability to apply serialization, please use code similar to this:

If Not Obj Is Nothing Then

If Obj.GetType().IsSerializable Then

However I am not sure you can serialize web controls. What web controls are you using?

Regards
JamesC
NIUK and Ireland

It only takes a second to rate an answer 🙂




0 Kudos
Message 2 of 2
(3,321 Views)