Versions des environnements
Network:
Windows 2008 Server
>I have a formview inside a formview. FV2 is on the ItemTemplate of FV1. FV2 contains 6 checkboxes. Based on user roles, users are allowed to edit various combinations of the 6 checkboxes. For example user1 may edit Ck1 and Ck2 but not the others. User2 may edit only Ck5, etc. The ckeckboxes are enabled or disabled based on the user's roles. My problem is that if a checkbox is not enabled, the value of 0 is stored anyway. Thus the user wipes whatever data was stored for the checkboxes he was not allowed to edit. Is there a setting somewhere that will preserve a previous true even if the checkbox is disabled?
>
>I had thought I could reenable the checkboxes before the save but since FV2 is inside of FV1 its methods are not readily available.
>
>Thanks
Try creating a hidden field for any disabled checkbox with the original value.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement