Environment versions
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.
>
>I would still need to intercept the update command of FV2 and write the update code myself. Do you know how I could do that since FV2.Updating is not available in the selection DDLs?
I don't usually use formviews, so I'm afraid I don't know how that would work.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only