Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simplest way to turn FormView into the ReadOnly mode
Message
 
 
À
05/06/2008 16:21:19
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01321954
Message ID:
01322004
Vues:
24
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform