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
40
Issue while using infragistics Spellchecker
posted

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>

 

                            </Grid>

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,