<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://aspinsiders.com/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Joteke's Blog - HttpContext Matters</title><link>http://aspinsiders.com/blogs/joteke/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.0 (Build: 60526.2668)</generator><item><title>Testing</title><link>http://aspinsiders.com/blogs/joteke/archive/2006/03/21/11.aspx</link><pubDate>Wed, 22 Mar 2006 00:34:00 GMT</pubDate><guid isPermaLink="false">1eeb0eae-fbf0-4879-97b6-a45ed3880c55:11</guid><dc:creator>joteke</dc:creator><slash:comments>0</slash:comments><comments>http://aspinsiders.com/blogs/joteke/comments/11.aspx</comments><wfw:commentRss>http://aspinsiders.com/blogs/joteke/commentrss.aspx?PostID=11</wfw:commentRss><description>&lt;P&gt;Testing the blog, and no one sees this yet but, but at the same...I'd like to remind about TextBox.ReadOnly on ASP.NET v2.0 (replied a few times about that on newsgroups...). &lt;/P&gt;
&lt;P&gt;If TextBox's ReadOnly property is "true", postback data won't be loaded e.g&amp;nbsp;it essentially&amp;nbsp;means TextBox being readonly from server-side standpoint (client-side changes&amp;nbsp;will be&amp;nbsp;ignored). If you want TB to be readonly in the "old manner" use &lt;FONT face="Courier New"&gt;TextBox1.Attributes.Add("readonly","readonly") &lt;/FONT&gt;&lt;FONT face="Times New Roman"&gt;as that won't affect server-side functionality.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;This is documentted here:&lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.textbox.readonly.aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.textbox.readonly.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And someone pointed that out as bug a while ago:&lt;BR&gt;&lt;A href="http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=60bb1325-9dc3-48e9-a32f-e211ea345862"&gt;http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=60bb1325-9dc3-48e9-a32f-e211ea345862&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Even though it's not even about EnableViewState but only about server-side ReadOnly property affecting postback data loading...&lt;/P&gt;
&lt;P&gt;Hey, this seems to work&amp;nbsp; I could switch my blog over here :-)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://aspinsiders.com/aggbug.aspx?PostID=11" width="1" height="1"&gt;</description></item></channel></rss>