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
60
WebSpeller Dialogue doesnot show up
posted

hi,

I'm using version 14.1 and I have a webSpellChecker to check the textBox inside repeater. Spell checking dialogue window doesnot showup. Here is my code

<ig_spell:WebSpellChecker ID="WebSpellChecker1" runat="server">
            
      <DialogOptions Modal ="true" />
            
 </ig_spell:WebSpellChecker>

<asp:Repeater>

-----------------

--------------

<asp:TemplateField HeaderText="Return Comment">
                                    <ItemTemplate>
                                        <div class="input-group">            
                                            <asp:TextBox ID="txtComment" runat="server" ClientIDMode="AutoID" CssClass="comment spell form-control" ToolTip="Comment will be included in the email sent to provider when returning Portfolio." TextMode="MultiLine" Rows="2" Columns="55" />
                                            <div class="input-group-addon">
                                                <img id="checker" runat="server" src="../images/spellcheck.gif" title="Spell Check" class="checker"  onclick="openWebSpellChecker( 'WebSpellChecker1', this)"  />
                                          </div>
                                        </div>
                                    </ItemTemplate>
                                </asp:TemplateField>

---------------------

---------------------

</asp:Repeater>

function openWebSpellChecker(objSpellChecker, a) {
    
    var spell2 = ig$(objSpellChecker);
    
    var text2 = $(a).parent().parent(".input-group").find(".spell").attr('id');
   
    spell2.checkSpelling(text2.value, null, text2);
    
      
 
}

Please suggest