<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Joteke's Blog - HttpContext Matters</title><subtitle type="html" /><id>http://aspinsiders.com/blogs/joteke/atom.aspx</id><link rel="alternate" type="text/html" href="http://aspinsiders.com/blogs/joteke/default.aspx" /><link rel="self" type="application/atom+xml" href="http://aspinsiders.com/blogs/joteke/atom.aspx" /><generator uri="http://communityserver.org" version="2.0.60526.2668">Community Server</generator><updated>2006-03-21T20:34:00Z</updated><entry><title>Testing</title><link rel="alternate" type="text/html" href="http://aspinsiders.com/blogs/joteke/archive/2006/03/21/11.aspx" /><id>http://aspinsiders.com/blogs/joteke/archive/2006/03/21/11.aspx</id><published>2006-03-21T16:34:00Z</published><updated>2006-03-21T16:34:00Z</updated><content type="html">&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;</content><author><name>joteke</name><uri>http://aspinsiders.com/members/joteke.aspx</uri></author></entry></feed>