And to add that the behavior not to post value when INPUT element is
disabled is in the HTML standard. Basically setting the element to be
readonly could work, but not sure if it can be straightforward set to
singular items in CheckBoxlist (ListItem has Attributes property but it
doesn't seem to reflect added attributes what is known bug:
http://support.microsoft.com/default.aspx?scid=kb;en-us;309338).
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
The ListItems are added design time.
In the Page_Load section, enclosed within the if(!IsPostBack) is where I'm
setting the Selected property for each ListItem. Initially, the
CheckBoxList's enabled property is set to false, and when the user clicks
the edit button, this control et.al. are set to enabled. It's during this
postback that the ListItems lose their Selected state.