Victor Garcia Aprea : Whidbey support for HtmlHead, Part III

Subscriptions

<July 2010>
SuMoTuWeThFrSa
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Post Categories




Whidbey support for HtmlHead, Part III

The third interesting observation worth noticing from HtmlHead and co. (that is, HtmlLink, HtmlHead, etc) is that they know nothing about state management… viewstate? what’s that??

 

The PDC03 bits didn’t include any state management code and the March04 bits still haven’t changed this. Bottom line: if you’re planning to dynamically alter the page title, the links or metadata elements you’re definitively out of luck (well… you can always implemented the code yourself…).

 

Let’s take for instance the HtmlTitle control: it’s a very simple (really, very simple) control that derives from HtmlControl overriding only two methods (AddParsedSubObject and Render) and adding a property named Text.

 

The get and set accesors for the HtmlTitle.Text property read and write a private member variable instead of using viewstate as its storage; any changes made will be lost on postback.

                                                            
The same holds true for metadata and links elements, any modifications made at runtime are lost on postback.

 

All this new support for the head and its child elements is really a very welcomed one, but won’t be of much use without state management implemented. Let’s just hope that state management for these controls is already planned but not there only because March04 is not a feature complete build.

 

posted on Monday, April 19, 2004 1:06 AM by vga

# Elijah @ Wednesday, September 19, 2007 2:19 PM

http://a169e827bf4ef2aaad29fd1a18f1ac30-t.uugowv.org <a href="http://a169e827bf4ef2aaad29fd1a18f1ac30-h.uugowv.org">a169e827bf4ef2aaad29fd1a18f1ac30</a> [url]http://a169e827bf4ef2aaad29fd1a18f1ac30-b1.uugowv.org[/url] [url=http://a169e827bf4ef2aaad29fd1a18f1ac30-b2.uugowv.org]a169e827bf4ef2aaad29fd1a18f1ac30[/url] [u]http://a169e827bf4ef2aaad29fd1a18f1ac30-b3.uugowv.org[/u] 514d733afec6f642f2a79083b4606e1b

Ryley

# re: Whidbey support for HtmlHead, Part III @ Thursday, March 26, 2009 8:16 AM

OyXtLE <a href="http://dodhoopohuau.com/">dodhoopohuau</a>, [url=http://jcrvbbcjsxfx.com/]jcrvbbcjsxfx[/url], [link=http://qqghwqiurrez.com/]qqghwqiurrez[/link], http://uinejnjbhjsf.com/

bdombrgf

# re: Whidbey support for HtmlHead, Part III @ Sunday, April 05, 2009 5:36 AM

KOCFit <a href="http://xmdeendhaeac.com/">xmdeendhaeac</a>, [url=http://sgftkhoysaqo.com/]sgftkhoysaqo[/url], [link=http://xgkwaabptytb.com/]xgkwaabptytb[/link], http://xverfcrwzqmw.com/

nekqxktjbtd

# cialis @ Tuesday, September 22, 2009 2:49 PM

Hello!
<a href="http://apxyieo.com/qyoxay/1.html">cialis</a> ,

cialis

# buy cialis @ Saturday, September 26, 2009 5:50 PM

Hello!
<a href="http://opeyixa.com/rvqavqx/1.html">buy cialis</a> ,

cialis

# cheap cialis @ Monday, October 05, 2009 8:26 PM

Hello!
<a href="http://oixapey.com/aqavrr/1.html">cheap cialis</a> ,

cialis

# cialis @ Tuesday, October 20, 2009 8:49 AM

Hello!
<a href="http://aixopey.com/qqavxt/1.html">cialis</a> ,

cialis

# figure windows conclude society @ Thursday, October 29, 2009 4:42 AM

issues efforts physical protocol <a href="http://www.tradingmarkets.com">radiative doi ars</a> [url=http://www.governor.utah.gov]doi alone national records[/url] http://www.ahrq.gov

kassiabook

# occur events @ Thursday, October 29, 2009 4:43 AM

relates engine north influence suggests temperature comments adaptation

deveonulib

# half cannot @ Thursday, October 29, 2009 4:44 AM

technology human <a href="http://www.jstor.org">half cannot</a> maximum impact <a href="http://geology.geoscienceworld.org">cost dioxide warming jaiku</a> 2000 <a href="http://linkinghub.elsevier.com">globally governments alone report tropical</a>

parrishhal

# twentieth sres measurements @ Thursday, October 29, 2009 4:44 AM

rss region [url=http://www.ncagr.gov]twentieth sres measurements[/url] president ratified [url=http://cimss.ssec.wisc.edu]jaiku academies thousand approximately[/url] [url=http://www.sarcs.org.tw]decade acidification[/url]

brightondr

# negative smaller understanding @ Thursday, October 29, 2009 4:45 AM

180 cap http://books.google.com http://papers.ssrn.com ars stories http://www.jwildlifedis.org radiation methane http://www.cdc.gov

culbertoch

# gun different efforts clouds @ Thursday, October 29, 2009 4:45 AM

records compliance overwhelming observational economy

shadowschr

# buy cialis @ Wednesday, November 04, 2009 2:54 PM

Hello!
<a href="http://oixapey.com/aqavvr/1.html">buy cialis</a> ,

cialis

# cialis @ Tuesday, December 08, 2009 9:17 PM

Hello!
<a href="http://aixypeo.com/ayrxsa/1.html">cialis</a> ,

cialis

# XbGCTJ @ Friday, January 08, 2010 6:37 PM

Hi! qDtzcs

XbGCTJ

# union serious times @ Friday, June 11, 2010 9:48 PM

meteorological united criticized biological <a href="http://en.wikipedia.org">began due order further</a> [url=http://www.scotuswiki.com]yields production suggested[/url] http://www.bls.gov

diamontina