Data Types Supported by ASPxHiddenField
The ASPxHiddenField control can store values of non-string types.
List of Supported Types
All supported types can be divided into the following three categories:
Elements (atomic values)
System.String
System.Guid
System.Byte
System.Int16
System.Int32
System.Int64
System.Double
System.Boolean
System.Single
System.Decimal
System.Char
System.DateTime
System.Text.RegularExpressions.Regex
System.DBNull
Nullable<T> - All analogies are supported except for String, Regex, and DBNull (which cannot be Nullable because they are not structures).
Lists
Dictionaries
All string-key dictionaries that implement the IDictionary interface are supported.
Note
ASPxHiddenField can store containers (lists, dictionaries) with values of the above types. These containers can have any nesting level.
For example, ASPxHiddenField can store a container that is a specifically designed business object with a set of key-value ({property name} - {property value}) pairs.
Note
ASPxHiddenField cannot be rendered if the control contains a key-value pair whose key is an empty string.
List of Types whose Information is not Passed to the Client
ASPxHiddenField does not serialize objects of the following types into JavaScript client-side objects:
System.Collections.Generic.Dictionary<string, object>
System.Object[]