Make HTML elements accessible from server side code

Make HTML elements accessible from server side code

In this video tutorial, Chris Pels will show how to make standard HTML elements in an .aspx page accessible from server side code so they can be used in page processing like a standard ASP.NET server control. First, see how the addition of a runat=”server” attribute to a standard HTML control like a div allows it to be referenced in server side code with full Intellisense. Next, see several examples of how you might manipulate HTML elements on a page with this technique. Lastly, see how this technique can be used in conjunction with the new ListView control in .NET Framework Version 3.5 to control the layout of a list.

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

Comments

Add your comment:

Undulating LED Wave Sculpture

Beautiful LED sculpture made for the 2008 100% Design exhibition in Earls Court. Curious how it was made? Process images below the video. Previously, 24,000 LED Light-Up-My-Dress. LED Wand + RIFD ...

Robot Dance Off Gets Creepy

As November was coming to an end this year, the "6th Robo-One Gate in International Robot Exhibition 2009" dance competition took place. The contenders are just a little bit creepy, to say ...

2009's Most Amazing Scientific Images

Popsci has posted 2009's most amazing scientific images, and there's quite a few great ones in there. A few of our favorites below, click through for all 62. In short, Cow Farts. "Scientists ...

DARPA Develops Explosive Blocking Mega-Shield

DARPA has released footage of the Iron Curtain, a pretty impressive shield system that will protect armored vehicles from oncoming explosives. With $8 million in Army approved funds, DARPA will ...

Big Brother's Watching You (HowTo Un-Google Yourself)

Some think of Google as the ultimate Big Brother, and with good reason. If you use Google (and most of us do), Google potentially has your email history, your complete search history, your travel ...

loading...