|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Textbox viewstateI have read that the values of disabled and readonly textboxes are not saved
to the viewstate on postbacks in .NET 2 for security reasons. However if the value of the textbox is set on the server on page load shouldn't this value be persisted during postbacks? It doesn't seem to be at the moment and is causing all sorts of problems in upgrading my application from .NET 1.1. Hi
Yes. ASP.NET 2.0 ReadOnly behavior change when EnableViewState is false http://west-wind.com/weblog/posts/3939.aspx What is the problem you are encountering. Maybe we have another solution of your scenario in asp.net 2.0. Also would you please build a simple webpage with a textbox to demostrate the problem and what problem you encounter and what did you want to achieve in asp.net 2.0? I will appreciate your efforts! Thanks! Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. |
|||||||||||||||||||||||