Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Collapse]Multi-Use Site Controls
   [Expand]Product Information
   [Expand]Callback Control
   [Expand]Callback Panel
   [Expand]Captcha Control
   [Collapse]HiddenField
     ASPxHiddenField Overview
    [Collapse]Concepts (ASPxHiddenField)
      Data Types Supported by the ASPxHiddenField
      Preserving Value Types
   [Expand]ObjectContainer
   [Expand]Rating Control
   [Expand]RoundPanel
   [Expand]Timer Control
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Types Supported by the ASPxHiddenField

The ASPxHiddenField component supports storing values of non string types.

Expanded 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 (they can't be Nullable because they are not structures).

  • Lists

    Lists of value types, Regex and DBNull types are supported.

  • Dictionaries

    All string-key dictionaries that implement the IDictionary are supported.

Note

The ASPxHiddenField is capable of storing values that are containers (lists, dictionaries) of the types described above. Value hierarchies of any depth are supported within the ASPxHiddenField. So, the ASPxHiddenField can store almost any container, which for example, can be a specifically designed business object with a set of {property name} - {property value} pairs.

Expanded List of Types whose Information Is Not Passed To the Client

Using the following types allows you to avoid type-description information from being passed by the ASPxHiddenField component to the client side.

System.Collections.Generic.Dictionary<string, object>
System.Object[]

How would you rate this topic?​​​​​​​