Share data between client JavaScript and server code

Share data between client JavaScript and server code

In this video tutorial, Chris Pels will show how to share data in between JavaScript and server-side code by using a hidden field in an ASP.NET page. Next, learn how to use the RegisterHiddenField method in server-side code to programmatically create a hidden field on the client. In addition, see how to programmatically create a HiddenField server control for sharing data on an ASP.NET page. Finally, use the RegisterArrayDeclaration method to create a container in server code for storing multiple values that is rendered to the page where it can be accessed by JavaScript.

Hosted by microsoft.com
Creator's Site: www.asp.net
Curated By: rmansur

Comments

Add your comment:

Bomb-Proof Your Home With Wallpaper

Incredible. A company called Berry Plastics (in partnership with the U.S. Army Corps of Engineers) has developed a working bomb proof wallpaper. The technology has the ability to protect against both ...

Tattoo Yourself (or Your Girlfriend)

Henna. Beautiful, fun, exotic... and best of all... Do-It-Yourself (with a little practice). Also, unlike tattoos, it's temporary. Henna generally lasts for 1-3 weeks. An ancient tradition, henna is ...

The Mother of all Ping Pong Guns - LETHAL

The lethal pneumatic ping pong gun. This thing isn't exactly wife approved. Creator Ron Kessinger built this mighty powerful ping pong launcher - "a variation on a potato cannon, built to run on ...

Old Bumper Cars Go Street Legal

Flickr user MR38 has posted a set of photos of bumper cars made street legal, as displayed at the annual Cruisin’ Grand festival in Escondido, California. This mini cars were retrofitted with 750 cc ...

Human Powered Ferris Wheel

According to Google's (albeit rough) translation from French to English: "A big wheel in India that does not work with an engine but using human power. Men throw themselves in front of the wheel ...

loading...