Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 1.55 KB
uid title author description ms.author ms.date ms.assetid msc.legacyurl msc.type
web-forms/videos/how-do-i/how-do-i-use-a-hidden-field-to-store-and-manipulate-client-side-information
[How Do I:] Use a Hidden Field to Store and Manipulate Client-Side Information | Microsoft Docs
rick-anderson
In this video Chris Pels will show how to use a hidden field as one approach to simple state management on an ASP.NET page and for communicating client side...
riande
07/24/2008
576ede31-e83a-4222-8f82-0aabb1dafe6a
/web-forms/videos/how-do-i/how-do-i-use-a-hidden-field-to-store-and-manipulate-client-side-information
video

[How Do I:] Use a Hidden Field to Store and Manipulate Client-Side Information

by Chris Pels

In this video Chris Pels will show how to use a hidden field as one approach to simple state management on an ASP.NET page and for communicating client side processing information. First, see how to add a hidden field to a page using an ASP.NET HiddenField server control and retrieve the value of the hidden field in server-side code after a post-back. Next, learn how to manipulate the value of the hidden field in client-side script, and then retrieve the modified value in server-side code. Finally, see an example of how to use several hidden fields to store information from client-side processing that can be posted back for server processing.

▶ Watch video (24 minutes)

You can’t perform that action at this time.