none
RCDC my:Enabled RRS feed

  • Question

  • Hi,

    I have being using the property Enabled=false whenever I want to protect the edition of an attribute.

    <my:Control my:Name="ctrlxyz" my:Enabled="false" ...

    Now I need to make the control only when user has a certain text property, kind of this:

    <my:Control my:Name="ctrlxyz" my:Enabled="MyTextAttribute='myTextValue'" ...

    Note:This need to be applied also to admin who have MPR with permissions for the field

    How can this be Done?

    If necessary I can consider the use of other properties: my:Name="ReadOnly" or my:Visible but I did not have success trying to use expressions on those (eg:"%MyAttribute%='myvalue'", ...)

    Many Thanks,

    JD

    Wednesday, July 17, 2019 11:01 AM

Answers