[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Collapse]Multi-Use Site Controls
   [Expand]Product Information
   [Expand]Callback Control
   [Expand]Callback Panel
   [Expand]Captcha Control
     ASPxHiddenField Overview
    [Collapse]Concepts (ASPxHiddenField)
      Data Types Supported by the ASPxHiddenField
      Preserving Value Types
   [Expand]Rating Control
   [Expand]Timer Control
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Preserving Value Types

The types of values maintained by the ASPxHiddenField component are automatically preserved, regardless of whether you write server code (using C# or VB) or client code (using JavaScript).

For example, on the server side, a date-time value can be inserted into the control's value collection in the following manner:

Then, on the client side, this value can be accessed and modified as a date object:

And, after that, on the server side, you can again manipulate this value as a date object:

Expanded See Also

Is this topic helpful?​​​​​​​