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

Comments

Add your comment:

Knit the Periodic Table

Science geeks everywhere: the ultimate knitting pattern. Creator apinnick made this amazing sweater displaying the Periodic Table of Elements for her husband, a microbiologist working in the ...

Ignite Prey and Light Cigarettes With a Laser Burner

Looking for an (explosively) fun Thanksgiving project this week? Something that involves fire and lasers? Check it out. YouTube creator StyroPyro lights ten matches in 9 seconds with a modded laser ...

Repair the World One (LEGO) Brick at a Time

Jan Vorman has installed quick LEGO-fixes all over the world - from Italy to Germany to Israel to Holland. Jan's "Dispatchwork" work creates a contemporary twist: colorful LEGO-street-art ...

DIY Ocular Assault Weapon

The latest in Graffiti-tech: How to write with your eyes. Via Instructables, "Behold the latest ocular assault weapon from the Graffiti Research Lab, openFrameworks, The Fat Lab and The Ebeling ...

Retro Electronics Papercraft For the Brazil '66 Crowd

Dan McPharlin has created some super-sweet retro electronics papercraft models. Click through to Dan's Flickr page to view the entire collection. Beautiful handmade cardboard models. Previously ...

loading...