Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1065
Databinding one field to another
posted

Hello,

I need to make one field's AllowEdit property dependent on the value of another field. I have the following sample code, but it doesn't work. Could any one point out how to make this work?

Thanks.

 

 

 

 

 

 

 

 

 

<

 

igDP:Field Name="EnableEdit" Label="Enable Edit>

<

 

igDP:Field.Settings>

 

 

 

<igDP:FieldSettings AllowResize="True"/>

 

 

 

</igDP:Field.Settings>

</

 

igDP:Field>

<

 

igDP:Field Name="ProjectName" Label="Project Name">

 

 

 

<igDP:Field.Settings>

 

 

 

<igDP:FieldSettings AllowEdit="{Binding Path=DataItem.EnableEdit}" AllowResize="True"/>

 

 

 

</igDP:Field.Settings>

</

 

igDP:Field>