i have added the refernce of InfragisticsSL4.Controls.Interactions.XamSpellChecker.v11.1
And import xmlns:ig="http://schemas.infragistics.com/xaml"
And now added below code to my XAML page
<Grid x:Name="LayoutRoot11" Background="White">
<Grid Background="{x:Null}" Margin="150,100" VerticalAlignment="Center">
<TextBox x:Name="txtSpellCheck" BorderBrush="#FFCCCCCC" Margin="5,5,5,51" Foreground="#FF666666" AcceptsReturn="True" Text="{Binding Mode=TwoWay,Path=XSP_LoremIpsum}" TextWrapping="Wrap" Padding="10" />
<Button x:Name="btnCheckSpelling" Content="Spell Check" Click="btnCheckSpelling_Click" Margin="5,0,5,5" Foreground="#FF666666" HorizontalAlignment="Stretch" Height="42" VerticalAlignment="Bottom" d:LayoutOverrides="GridBox" />
</Grid>
<ig:XamSpellChecker x:Name="mySpellChecker"
DictionaryUri="http://samples.infragistics.com/sllob/SamplesCommon/sllob/Dictionaries/us-english-v2-whole.dict">
<ig:XamSpellChecker.SpellCheckTargets>
<Binding ElementName="txtSpellCheck" Path="Text" Mode="TwoWay"/>
</ig:XamSpellChecker.SpellCheckTargets>
</ig:XamSpellChecker>
And i got below error message at initialization of page
The invocation of the constructor on type 'Infragistics.Controls.Interactions.XamSpellChecker' that matches the specified binding constraints threw an exception.
Awaiting for your reply
Thanks,
Hello tsoft96,
For a walkthrough on how to set up the xamSpellChecker, please reference this topic.
Let me know if you have further questions.
Elizabeth AlbertLocalization Engineer
Hello Elizabeth,
I walk through the reference site given by you and create one sample application. But still getting same error.
You can download the My Sample application at :
http://121.247.170.47/test/SpellCheckerTestApp.zip
Can you please let me know where i am doing wrong?
Hiren
Hello Hiren,
I was unable to run your sample, as the assemblies were blocked. Instead, I created my own and attached it. You can remove my 11.2 references and replace them with 11.1. I had to remove the dictionary file from the ClientBin so I could attach it. You can find that file here:
C:\Program Files\Infragistics\NetAdvantage 2011.1\Silverlight\Dictionaries
While making the sample application, I found that the walkthrough does not include the requirement to add the InfragisticsSL4.Controls.Interactions.XamDialogWindow.v11.1.dll to your references. I think this might be what is causing the issue. Please try to add that assembly reference and rebuild.