I've modified an existing (working) ASP webpage by adding auto spellcheck per the example code. There are two text boxes, one of which is seldom used, so I'd rather spell check them seperately (rather than use ControlsToCheck and getting both at the same time).
Specifically, I've added two RadSpell controls:
<telerik:RadSpell id="RadSpellRepairOnly" runat="server" controltocheck="RepairTextBox" buttontype="None" IsClientID="true" />
<telerik:RadSpell id="RadSpellInstructionsOnly" runat="server" controltocheck="InstructionsTextBox" buttontype="None" IsClientID="true" />
...two scripts:
GetRadSpell('<%= RadSpellInstructionsOnly.ClientID %>').startSpellCheck();
}
...and modified the two textboxes accordingly:
This works, but if I jump between the text boxes more than once I get an 'out of stack space' exception and execution is halted. Is this not a supported configuration?
Specifically, I've added two RadSpell controls:
<telerik:RadSpell id="RadSpellRepairOnly" runat="server" controltocheck="RepairTextBox" buttontype="None" IsClientID="true" />
<telerik:RadSpell id="RadSpellInstructionsOnly" runat="server" controltocheck="InstructionsTextBox" buttontype="None" IsClientID="true" />
...two scripts:
function spellCheckRepair() {
GetRadSpell('<%= RadSpellRepairOnly.ClientID %>').startSpellCheck();
}
function spellCheckInstructions() {GetRadSpell('<%= RadSpellRepairOnly.ClientID %>').startSpellCheck();
}
GetRadSpell('<%= RadSpellInstructionsOnly.ClientID %>').startSpellCheck();
}
...and modified the two textboxes accordingly:
<asp:TextBox ID="RepairTextBox" runat="server" Rows="12" Width="100%" TextMode="MultiLine" BorderColor="White" onblur="javascript: spellCheckRepair();"></asp:TextBox>
<asp:TextBox ID="InstructionsTextBox" runat="server" Rows="6" Width="100%" TextMode="MultiLine" BorderColor="White" onblur="javascript: spellCheckInstructions();"></asp:TextBox>
This works, but if I jump between the text boxes more than once I get an 'out of stack space' exception and execution is halted. Is this not a supported configuration?