Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Silverlight ig:XamFormulaEditor不更新GUI中的组件_Silverlight - Fatal编程技术网

Silverlight ig:XamFormulaEditor不更新GUI中的组件

Silverlight ig:XamFormulaEditor不更新GUI中的组件,silverlight,Silverlight,您好,我的应用程序中有一个ig:XamFormulaEditor silverlight组件,它允许创建公式并将数据保存到数据库中 但当我需要更新数据时,控件不会使用数据库中的值进行更新 与类模型的绑定是正确的 这是我的代码: <StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="0" > <ig:XamFormulaEditor x:Name="FRM_CONTROL3" HorizontalA

您好,我的应用程序中有一个ig:XamFormulaEditor silverlight组件,它允许创建公式并将数据保存到数据库中

但当我需要更新数据时,控件不会使用数据库中的值进行更新

与类模型的绑定是正确的

这是我的代码:

<StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="0" >
    <ig:XamFormulaEditor x:Name="FRM_CONTROL3"  HorizontalAlignment="Left" Height="36"  Margin="0,0,0,0" Width="300" 
        VerticalAlignment="Center" MinLineCount="1" 
        Target="{Binding ElementName=TXT_FRM_CONTROL3}" 
        Formula="{Binding FormulaControl3, Mode=TwoWay, NotifyOnValidationError=True, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
    <TextBox Name="TXT_FRM_CONTROL3" Margin="0,0,0,0" Width="300" MaxLength="4000" 
            ig:XamCalculationManager.CalculationManager="{Binding ElementName=CalculadordeFormula}" Visibility="Collapsed" />
</StackPanel>    


我尝试过在代码中直接设置值:TXT\u FRM\u CONTROL3.Text=MyObject.FormulaControl3---FRM\u CONTROL3.Formula=MyObject.FormulaControl3在其他窗口中使用相同的代码它工作正常,唯一的区别是在故障窗口中我有4个控件