Hi Adrian,
I think Bruce's suggestions are reasonable since disabled html input fields
won't post back their values. And there hasn't any better means other than
copy and store the values into other place(viewstate or sessionstaet)
before disabling the entry fields.
BTW, is it possbile that we don't disable them? For some control such as
TextBox( <input type=text ... ), we can set it's "readonly" attribute. For
example:
txtName.Attributes["readonly"] = "true";
the above statement make the txtName (a textbox control) readonly( can't
change its text), but its value can still be posted back to server side.
In addition, we can also consider settting those control's Visible to false
so as to hidden them.
Hope helps. Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)