Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simplest way to turn FormView into the ReadOnly mode
Message
 
 
To
05/06/2008 16:21:19
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01321954
Message ID:
01322004
Views:
23
>But if the user can't save, aren't all user inputs readonly? The only other way would be to iterate over all controls and set databound controls to readonly.
>
>PS, your user controls should have public properties for things like ReadOnly. The user control can then manipulate its contained controls as required. I only mention this because I'm dealing with some usercontols where the developers manipulated contained controls in form code, wreaking encapsulation.

Yes, my User Controls have EditMode and I planned to add a method to set enabled status based on it (see my other thread).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform